#2F3C0A#2F3C0A

#2F3C0A is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.073 H 123.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2F3C0A
RGBrgb(47, 60, 10)
HSLhsl(76, 71%, 14%)
HSVhsv(76, 83%, 24%)
CMYKcmyk(21.7%, 0%, 83.3%, 76.5%)
CIE-LABlab(23.20, -13.74, 27.38)
CIE-LCHlch(23.20, 30.63, 116.65°)
OKLaboklab(33.32% -0.0401 0.0611)
OKLCHoklch(33.32% 0.073 123.3)
XYZxyz(2.8430, 3.8580, 0.8820)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C0A #170A3C
analogous
#3C300A #2F3C0A #163C0A
triadic
#2F3C0A #0A2F3C #3C0A2F
tetradic
#2F3C0A #0A3C30 #170A3C #3C0A16
square
#2F3C0A #0A3C30 #170A3C #3C0A16
split-complementary
#2F3C0A #0A163C #300A3C
monochromatic
#151A04 #151A04 #2F3C0A #587013 #81A51B

Accessibility & contrast

On white

11.85
#2F3C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F3C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C0A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C0A#FFFFFF#000000##FFFFFF
##2F3C0A1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403803
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#323932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c0a;
/* rgb */ color: rgb(47, 60, 10);
/* oklch */ color: oklch(33.3% 0.073 123.3);
Tailwind
colors: {
  custom: {
    50: '#69714d',
    500: '#2f3c0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c0a;
$custom-light: #69714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c0a",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 10
  },
  "hsl": {
    "h": 75.6,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33322,
    "c": 0.07306,
    "h": 123.3
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#2F3C0A
secondary
#3D2879
accent
#3AEE69
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3C0A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F3C0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva