#2F4F0D#2F4F0D

#2F4F0D is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.099 H 132.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2F4F0D
RGBrgb(47, 79, 13)
HSLhsl(89, 72%, 18%)
HSVhsv(89, 84%, 31%)
CMYKcmyk(40.5%, 0%, 83.5%, 69%)
CIE-LABlab(29.97, -23.65, 32.75)
CIE-LCHlch(29.97, 40.40, 125.84°)
OKLaboklab(38.84% -0.0668 0.0729)
OKLCHoklch(38.84% 0.099 132.5)
XYZxyz(4.0409, 6.2252, 1.3694)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F0D #2D0D4F
analogous
#4F4E0D #2F4F0D #0E4F0D
triadic
#2F4F0D #0D2F4F #4F0D2F
tetradic
#2F4F0D #0D4F4E #2D0D4F #4F0D0E
square
#2F4F0D #0D4F4E #2D0D4F #4F0D0E
split-complementary
#2F4F0D #0D0E4F #4E0D4F
monochromatic
#101A04 #101A04 #2F4F0D #4E8416 #6EB81E

Accessibility & contrast

On white

9.35
#2F4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4F0D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4F0D#FFFFFF#000000##FFFFFF
##2F4F0D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534801
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#2F4B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4f0d;
/* rgb */ color: rgb(47, 79, 13);
/* oklch */ color: oklch(38.8% 0.099 132.5);
Tailwind
colors: {
  custom: {
    50: '#6b8052',
    500: '#2f4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f0d;
$custom-light: #6b8052;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f0d",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 89.091,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38839,
    "c": 0.09883,
    "h": 132.5
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#2F4F0D
secondary
#5B2E8A
accent
#39EE91
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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