#2F500D#2F500D

#2F500D is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.1% C 0.100 H 132.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2F500D
RGBrgb(47, 80, 13)
HSLhsl(90, 72%, 18%)
HSVhsv(90, 84%, 31%)
CMYKcmyk(41.3%, 0%, 83.7%, 68.6%)
CIE-LABlab(30.33, -24.14, 33.09)
CIE-LCHlch(30.33, 40.97, 126.11°)
OKLaboklab(39.13% -0.0681 0.0736)
OKLCHoklch(39.13% 0.1 132.8)
XYZxyz(4.1135, 6.3705, 1.3936)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F500D #2E0D50
analogous
#504F0D #2F500D #0E500D
triadic
#2F500D #0D2F50 #500D2F
tetradic
#2F500D #0D504F #2E0D50 #500D0E
square
#2F500D #0D504F #2E0D50 #500D0E
split-complementary
#2F500D #0D0E50 #4F0D50
monochromatic
#0F1A04 #101B04 #2F500D #4E8516 #6DB91E

Accessibility & contrast

On white

9.23
#2F500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2F500D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F500D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F500D#FFFFFF#000000##FFFFFF
##2F500D1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544901
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#2F4C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f500d;
/* rgb */ color: rgb(47, 80, 13);
/* oklch */ color: oklch(39.1% 0.100 132.8);
Tailwind
colors: {
  custom: {
    50: '#6b8152',
    500: '#2f500d',
    950: '#000000',
  },
}
SCSS
$custom: #2f500d;
$custom-light: #6b8152;
$custom-dark: #000000;
JSON
{
  "hex": "#2f500d",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 89.552,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39129,
    "c": 0.10025,
    "h": 132.8
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#2F500D
secondary
#5C2E8B
accent
#39EF93
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F500D

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

Preview Lab → · Contrast checker → · Palette generator →

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