#2F4E0D#2F4E0D

#2F4E0D is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.097 H 132.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2F4E0D
RGBrgb(47, 78, 13)
HSLhsl(89, 71%, 18%)
HSVhsv(89, 83%, 31%)
CMYKcmyk(39.7%, 0%, 83.3%, 69.4%)
CIE-LABlab(29.62, -23.16, 32.41)
CIE-LCHlch(29.62, 39.84, 125.55°)
OKLaboklab(38.55% -0.0654 0.0721)
OKLCHoklch(38.55% 0.097 132.2)
XYZxyz(3.9693, 6.0820, 1.3455)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E0D #2C0D4E
analogous
#4E4C0D #2F4E0D #0F4E0D
triadic
#2F4E0D #0D2F4E #4E0D2F
tetradic
#2F4E0D #0D4E4C #2C0D4E #4E0D0F
square
#2F4E0D #0D4E4C #2C0D4E #4E0D0F
split-complementary
#2F4E0D #0D0F4E #4C0D4E
monochromatic
#101A04 #101A04 #2F4E0D #4F8216 #6EB71E

Accessibility & contrast

On white

9.47
#2F4E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F4E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E0D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E0D#FFFFFF#000000##FFFFFF
##2F4E0D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524702
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#304A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e0d;
/* rgb */ color: rgb(47, 78, 13);
/* oklch */ color: oklch(38.5% 0.097 132.2);
Tailwind
colors: {
  custom: {
    50: '#6b8051',
    500: '#2f4e0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e0d;
$custom-light: #6b8051;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e0d",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 13
  },
  "hsl": {
    "h": 88.615,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.0974,
    "h": 132.2
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#2F4E0D
secondary
#592E89
accent
#3AEE90
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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