#2F4E15#2F4E15

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

Color values

HEX#2F4E15
RGBrgb(47, 78, 21)
HSLhsl(93, 58%, 19%)
HSVhsv(93, 73%, 31%)
CMYKcmyk(39.7%, 0%, 73.1%, 69.4%)
CIE-LABlab(29.68, -22.52, 29.01)
CIE-LCHlch(29.68, 36.73, 127.82°)
OKLaboklab(38.62% -0.063 0.0663)
OKLCHoklch(38.62% 0.091 133.5)
XYZxyz(4.0320, 6.1071, 1.6757)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E15 #34154E
analogous
#4C4E15 #2F4E15 #154E18
triadic
#2F4E15 #152F4E #4E152F
tetradic
#2F4E15 #154C4E #34154E #4E1815
square
#2F4E15 #154C4E #34154E #4E1815
split-complementary
#2F4E15 #18154E #4E154C
monochromatic
#0F1806 #121E08 #2F4E15 #4C7E22 #69AE2F

Accessibility & contrast

On white

9.45
#2F4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E15
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E15#FFFFFF#000000##FFFFFF
##2F4E151.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4e15;
/* rgb */ color: rgb(47, 78, 21);
/* oklch */ color: oklch(38.6% 0.091 133.5);
Tailwind
colors: {
  custom: {
    50: '#6a8056',
    500: '#2f4e15',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e15;
$custom-light: #6a8056;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e15",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 92.632,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3862,
    "c": 0.09149,
    "h": 133.5
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#2F4E15
secondary
#633986
accent
#47E19B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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