#2F4F0E#2F4F0E

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

Color values

HEX#2F4F0E
RGBrgb(47, 79, 14)
HSLhsl(90, 70%, 18%)
HSVhsv(90, 82%, 31%)
CMYKcmyk(40.5%, 0%, 82.3%, 69%)
CIE-LABlab(29.98, -23.59, 32.37)
CIE-LCHlch(29.98, 40.06, 126.08°)
OKLaboklab(38.85% -0.0665 0.0722)
OKLCHoklch(38.85% 0.098 132.6)
XYZxyz(4.0475, 6.2278, 1.4042)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F0E #2E0E4F
analogous
#4F4E0E #2F4F0E #0F4F0E
triadic
#2F4F0E #0E2F4F #4F0E2F
tetradic
#2F4F0E #0E4F4E #2E0E4F #4F0E0F
square
#2F4F0E #0E4F4E #2E0E4F #4F0E0F
split-complementary
#2F4F0E #0E0F4F #4E0E4F
monochromatic
#0F1A05 #101B05 #2F4F0E #4E8317 #6DB720

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4F0E#FFFFFF#000000##FFFFFF
##2F4F0E1.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)
#534802
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#2F4B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4f0e;
/* rgb */ color: rgb(47, 79, 14);
/* oklch */ color: oklch(38.8% 0.098 132.6);
Tailwind
colors: {
  custom: {
    50: '#6b8052',
    500: '#2f4f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f0e;
$custom-light: #6b8052;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f0e",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 89.538,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.09819,
    "h": 132.6
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#2F4F0E
secondary
#5C2F8A
accent
#3BED93
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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