#2F500E#2F500E

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

Color values

HEX#2F500E
RGBrgb(47, 80, 14)
HSLhsl(90, 70%, 18%)
HSVhsv(90, 83%, 31%)
CMYKcmyk(41.3%, 0%, 82.5%, 68.6%)
CIE-LABlab(30.34, -24.08, 32.72)
CIE-LCHlch(30.34, 40.62, 126.35°)
OKLaboklab(39.14% -0.0678 0.073)
OKLCHoklch(39.14% 0.1 132.9)
XYZxyz(4.1202, 6.3732, 1.4284)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F500E #2F0E50
analogous
#50500E #2F500E #0E500E
triadic
#2F500E #0E2F50 #500E2F
tetradic
#2F500E #0E5050 #2F0E50 #500E0E
square
#2F500E #0E5050 #2F0E50 #500E0E
split-complementary
#2F500E #0E0E50 #500E50
monochromatic
#0F1A05 #101C05 #2F500E #4E8417 #6CB820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F500E#FFFFFF#000000##FFFFFF
##2F500E1.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)
#544902
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#2F4C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f500e;
/* rgb */ color: rgb(47, 80, 14);
/* oklch */ color: oklch(39.1% 0.100 132.9);
Tailwind
colors: {
  custom: {
    50: '#6b8152',
    500: '#2f500e',
    950: '#000000',
  },
}
SCSS
$custom: #2f500e;
$custom-light: #6b8152;
$custom-dark: #000000;
JSON
{
  "hex": "#2f500e",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 90,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39136,
    "c": 0.09963,
    "h": 132.9
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#2F500E
secondary
#5D2F8B
accent
#3BED94
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F500E

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

Preview Lab → · Contrast checker → · Palette generator →

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