#0FA310

A color in the Green family

#0fa310 is a color in the Green family: RGB(15, 163, 16), HSL(120°, 83%, 35%), CMYK(91%, 0%, 90%, 36%). Closest named color: forestgreen. Contrast is 3.35:1 on white and 6.27:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#0fa310
RGBrgb(15 163 16)
RGB (legacy)rgb(15, 163, 16)
RGB %rgb(6% 64% 6%)
HSLhsl(120 83% 35%)
HSV / HSBhsv(120, 91%, 64%)
HWBhwb(120 6% 36%)
CMYKcmyk(91%, 0%, 90%, 36%)
CIELAB (D50)lab(58.41 -55.53 55.78)
LCHlch(58.41 78.71 134.87)
OKLaboklab(0.6214 -0.1637 0.1251)
OKLCHoklch(0.6214 0.206 142.62)
Decimal1024784

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 7.4
Closest web-safe color#009900
Hue120°
Saturation (HSL / HSV)83% / 91%
Lightness (HSL)35%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)40% / 47%
Relative luminance (WCAG)0.2633
Red / Green / Blue15 / 163 / 16

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 60.2 / -41.5 · As background with white / black text: Lc -65.6 / 43.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #0fa310;
  --color-brand-oklch: oklch(62.14% 0.206 142.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(15 163 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0fa310] text-[#0fa310] border-[#0fa310]">