#2F3904#2F3904

#2F3904 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.073 H 120.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2F3904
RGBrgb(47, 57, 4)
HSLhsl(71, 87%, 12%)
HSVhsv(71, 93%, 22%)
CMYKcmyk(17.5%, 0%, 93%, 77.6%)
CIE-LABlab(22.09, -12.41, 28.67)
CIE-LCHlch(22.09, 31.24, 113.41°)
OKLaboklab(32.41% -0.0371 0.0634)
OKLCHoklch(32.41% 0.073 120.3)
XYZxyz(2.6574, 3.5394, 0.6580)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3904 #0E0439
analogous
#392904 #2F3904 #153904
triadic
#2F3904 #042F39 #39042F
tetradic
#2F3904 #043929 #0E0439 #390415
square
#2F3904 #043929 #0E0439 #390415
split-complementary
#2F3904 #041539 #290439
monochromatic
#181D02 #181D02 #2F3904 #5E7208 #8DAB0C

Accessibility & contrast

On white

12.30
#2F3904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F3904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3904
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3904#FFFFFF#000000##FFFFFF
##2F39041.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C3509
Tritanopia (blue-blind)
#32352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3904;
/* rgb */ color: rgb(47, 57, 4);
/* oklch */ color: oklch(32.4% 0.073 120.3);
Tailwind
colors: {
  custom: {
    50: '#6a6f4a',
    500: '#2f3904',
    950: '#000000',
  },
}
SCSS
$custom: #2f3904;
$custom-light: #6a6f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3904",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 71.321,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32411,
    "c": 0.07348,
    "h": 120.3
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#2F3904
secondary
#2F1E7B
accent
#2BFD52
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3904

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

Preview Lab → · Contrast checker → · Palette generator →

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