#2F4E14#2F4E14

#2F4E14 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.092 H 133.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2F4E14
RGBrgb(47, 78, 20)
HSLhsl(92, 59%, 19%)
HSVhsv(92, 74%, 31%)
CMYKcmyk(39.7%, 0%, 74.4%, 69.4%)
CIE-LABlab(29.67, -22.61, 29.48)
CIE-LCHlch(29.67, 37.15, 127.49°)
OKLaboklab(38.61% -0.0633 0.0672)
OKLCHoklch(38.61% 0.092 133.3)
XYZxyz(4.0229, 6.1034, 1.6278)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E14 #33144E
analogous
#4C4E14 #2F4E14 #144E16
triadic
#2F4E14 #142F4E #4E142F
tetradic
#2F4E14 #144C4E #33144E #4E1614
square
#2F4E14 #144C4E #33144E #4E1614
split-complementary
#2F4E14 #16144E #4E144C
monochromatic
#0F1806 #121D08 #2F4E14 #4C7F20 #6AAF2D

Accessibility & contrast

On white

9.46
#2F4E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E14
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E14#FFFFFF#000000##FFFFFF
##2F4E141.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470C
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#2F4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e14;
/* rgb */ color: rgb(47, 78, 20);
/* oklch */ color: oklch(38.6% 0.092 133.3);
Tailwind
colors: {
  custom: {
    50: '#6a8055',
    500: '#2f4e14',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e14;
$custom-light: #6a8055;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e14",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 92.069,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3861,
    "c": 0.09232,
    "h": 133.3
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#2F4E14
secondary
#623886
accent
#45E299
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4E14

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

Preview Lab → · Contrast checker → · Palette generator →

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