#2F3A0C#2F3A0C

#2F3A0C is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.069 H 121.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2F3A0C
RGBrgb(47, 58, 12)
HSLhsl(74, 66%, 14%)
HSVhsv(74, 79%, 23%)
CMYKcmyk(19%, 0%, 79.3%, 77.3%)
CIE-LABlab(22.50, -12.43, 25.80)
CIE-LCHlch(22.50, 28.64, 115.73°)
OKLaboklab(32.77% -0.0362 0.0581)
OKLCHoklch(32.77% 0.069 121.9)
XYZxyz(2.7517, 3.6570, 0.9087)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A0C #170C3A
analogous
#3A2E0C #2F3A0C #183A0C
triadic
#2F3A0C #0C2F3A #3A0C2F
tetradic
#2F3A0C #0C3A2E #170C3A #3A0C18
square
#2F3A0C #0C3A2E #170C3A #3A0C18
split-complementary
#2F3A0C #0C183A #2E0C3A
monochromatic
#151905 #151905 #2F3A0C #586D16 #819F21

Accessibility & contrast

On white

12.13
#2F3A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F3A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A0C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A0C#FFFFFF#000000##FFFFFF
##2F3A0C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3606
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a0c;
/* rgb */ color: rgb(47, 58, 12);
/* oklch */ color: oklch(32.8% 0.069 121.9);
Tailwind
colors: {
  custom: {
    50: '#69704e',
    500: '#2f3a0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a0c;
$custom-light: #69704e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a0c",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 74.348,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32768,
    "c": 0.06851,
    "h": 121.9
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#2F3A0C
secondary
#3D2C76
accent
#3FE968
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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