#2F5B0E#2F5B0E

#2F5B0E is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.115 H 135.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2F5B0E
RGBrgb(47, 91, 14)
HSLhsl(94, 73%, 21%)
HSVhsv(94, 85%, 36%)
CMYKcmyk(48.4%, 0%, 84.6%, 64.3%)
CIE-LABlab(34.23, -29.24, 36.42)
CIE-LCHlch(34.23, 46.71, 128.76°)
OKLaboklab(42.33% -0.0818 0.0807)
OKLCHoklch(42.33% 0.115 135.4)
XYZxyz(4.9925, 8.1179, 1.7192)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B0E #3A0E5B
analogous
#555B0E #2F5B0E #0E5B14
triadic
#2F5B0E #0E2F5B #5B0E2F
tetradic
#2F5B0E #0E555B #3A0E5B #5B140E
square
#2F5B0E #0E555B #3A0E5B #5B140E
split-complementary
#2F5B0E #140E5B #5B0E55
monochromatic
#0E1B04 #142606 #2F5B0E #4A9016 #66C51E

Accessibility & contrast

On white

8.00
#2F5B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2F5B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5B0E
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B0E#FFFFFF#000000##FFFFFF
##2F5B0E1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#2E574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f5b0e;
/* rgb */ color: rgb(47, 91, 14);
/* oklch */ color: oklch(42.3% 0.115 135.4);
Tailwind
colors: {
  custom: {
    50: '#6d8a54',
    500: '#2f5b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b0e;
$custom-light: #6d8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b0e",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 14
  },
  "hsl": {
    "h": 94.286,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.11489,
    "h": 135.4
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#2F5B0E
secondary
#6A3095
accent
#38F0A1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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