#2F3907#2F3907

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

Color values

HEX#2F3907
RGBrgb(47, 57, 7)
HSLhsl(72, 78%, 13%)
HSVhsv(72, 88%, 22%)
CMYKcmyk(17.5%, 0%, 87.7%, 77.6%)
CIE-LABlab(22.11, -12.20, 27.47)
CIE-LCHlch(22.11, 30.06, 113.94°)
OKLaboklab(32.44% -0.0362 0.0611)
OKLCHoklch(32.44% 0.071 120.6)
XYZxyz(2.6738, 3.5459, 0.7445)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3907 #110739
analogous
#392A07 #2F3907 #163907
triadic
#2F3907 #072F39 #39072F
tetradic
#2F3907 #07392A #110739 #390716
square
#2F3907 #07392A #110739 #390716
split-complementary
#2F3907 #071639 #2A0739
monochromatic
#161B03 #161B03 #2F3907 #5C700E #89A614

Accessibility & contrast

On white

12.29
#2F3907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3907
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3907#FFFFFF#000000##FFFFFF
##2F39071.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3501
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#323530
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3907;
/* rgb */ color: rgb(47, 57, 7);
/* oklch */ color: oklch(32.4% 0.071 120.6);
Tailwind
colors: {
  custom: {
    50: '#696f4b',
    500: '#2f3907',
    950: '#000000',
  },
}
SCSS
$custom: #2f3907;
$custom-light: #696f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3907",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 7
  },
  "hsl": {
    "h": 72,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32437,
    "c": 0.07102,
    "h": 120.6
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#2F3907
secondary
#342379
accent
#33F55A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3907

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

Preview Lab → · Contrast checker → · Palette generator →

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