#2F4207#2F4207

#2F4207 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.084 H 126.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2F4207
RGBrgb(47, 66, 7)
HSLhsl(79, 81%, 14%)
HSVhsv(79, 89%, 26%)
CMYKcmyk(28.8%, 0%, 89.4%, 74.1%)
CIE-LABlab(25.31, -17.30, 30.67)
CIE-LCHlch(25.31, 35.22, 119.42°)
OKLaboklab(35.03% -0.0501 0.0674)
OKLCHoklch(35.03% 0.084 126.6)
XYZxyz(3.1589, 4.5160, 0.9062)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4207 #1A0742
analogous
#423807 #2F4207 #124207
triadic
#2F4207 #072F42 #42072F
tetradic
#2F4207 #074238 #1A0742 #420712
square
#2F4207 #074238 #1A0742 #420712
split-complementary
#2F4207 #071242 #380742
monochromatic
#141C03 #141C03 #2F4207 #56790D #7EB113

Accessibility & contrast

On white

11.03
#2F4207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F4207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4207
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4207#FFFFFF#000000##FFFFFF
##2F42071.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433C0D
Tritanopia (blue-blind)
#313E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4207;
/* rgb */ color: rgb(47, 66, 7);
/* oklch */ color: oklch(35.0% 0.084 126.6);
Tailwind
colors: {
  custom: {
    50: '#6a764c',
    500: '#2f4207',
    950: '#000000',
  },
}
SCSS
$custom: #2f4207;
$custom-light: #6a764c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4207",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 79.322,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.08394,
    "h": 126.6
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#2F4207
secondary
#422481
accent
#31F771
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F4207

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

Preview Lab → · Contrast checker → · Palette generator →

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