#2F5F0E#2F5F0E

#2F5F0E is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.120 H 136.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2F5F0E
RGBrgb(47, 95, 14)
HSLhsl(96, 74%, 21%)
HSVhsv(96, 85%, 37%)
CMYKcmyk(50.5%, 0%, 85.3%, 62.7%)
CIE-LABlab(35.64, -31.02, 37.74)
CIE-LCHlch(35.64, 48.85, 129.42°)
OKLaboklab(43.48% -0.0865 0.0835)
OKLCHoklch(43.48% 0.12 136)
XYZxyz(5.3436, 8.8201, 1.8363)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F0E #3E0E5F
analogous
#585F0E #2F5F0E #0E5F16
triadic
#2F5F0E #0E2F5F #5F0E2F
tetradic
#2F5F0E #0E585F #3E0E5F #5F160E
square
#2F5F0E #0E585F #3E0E5F #5F160E
split-complementary
#2F5F0E #160E5F #5F0E58
monochromatic
#0D1B04 #152A06 #2F5F0E #499416 #64CA1E

Accessibility & contrast

On white

7.60
#2F5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2F5F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5F0E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F0E#FFFFFF#000000##FFFFFF
##2F5F0E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#2D5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5f0e;
/* rgb */ color: rgb(47, 95, 14);
/* oklch */ color: oklch(43.5% 0.120 136.0);
Tailwind
colors: {
  custom: {
    50: '#6d8d55',
    500: '#2f5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f0e;
$custom-light: #6d8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f0e",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 95.556,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43483,
    "c": 0.12024,
    "h": 136
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#2F5F0E
secondary
#6E3099
accent
#37F1A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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