#2F5013#2F5013

#2F5013 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.096 H 133.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2F5013
RGBrgb(47, 80, 19)
HSLhsl(92, 62%, 19%)
HSVhsv(92, 76%, 31%)
CMYKcmyk(41.3%, 0%, 76.3%, 68.6%)
CIE-LABlab(30.37, -23.70, 30.66)
CIE-LCHlch(30.37, 38.75, 127.70°)
OKLaboklab(39.18% -0.0664 0.0695)
OKLCHoklch(39.18% 0.096 133.7)
XYZxyz(4.1584, 6.3885, 1.6300)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5013 #341350
analogous
#4E5013 #2F5013 #135016
triadic
#2F5013 #132F50 #50132F
tetradic
#2F5013 #134E50 #341350 #501613
square
#2F5013 #134E50 #341350 #501613
split-complementary
#2F5013 #161350 #50134E
monochromatic
#0F1906 #121F07 #2F5013 #4C811F #69B32A

Accessibility & contrast

On white

9.22
#2F5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5013
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5013#FFFFFF#000000##FFFFFF
##2F50131.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534909
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#2F4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f5013;
/* rgb */ color: rgb(47, 80, 19);
/* oklch */ color: oklch(39.2% 0.096 133.7);
Tailwind
colors: {
  custom: {
    50: '#6b8155',
    500: '#2f5013',
    950: '#000000',
  },
}
SCSS
$custom: #2f5013;
$custom-light: #6b8155;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5013",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 92.459,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39179,
    "c": 0.0961,
    "h": 133.7
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#2F5013
secondary
#633689
accent
#43E59B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F5013

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

Preview Lab → · Contrast checker → · Palette generator →

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