#2F5514#2F5514

#2F5514 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.6% C 0.103 H 135.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2F5514
RGBrgb(47, 85, 20)
HSLhsl(95, 62%, 21%)
HSVhsv(95, 76%, 33%)
CMYKcmyk(44.7%, 0%, 76.5%, 66.7%)
CIE-LABlab(32.15, -26.03, 32.04)
CIE-LCHlch(32.15, 41.29, 129.09°)
OKLaboklab(40.64% -0.0726 0.0726)
OKLCHoklch(40.64% 0.103 135)
XYZxyz(4.5470, 7.1516, 1.8025)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5514 #3A1455
analogous
#4F5514 #2F5514 #145519
triadic
#2F5514 #142F55 #55142F
tetradic
#2F5514 #144F55 #3A1455 #551914
square
#2F5514 #144F55 #3A1455 #551914
split-complementary
#2F5514 #191455 #55144F
monochromatic
#0E1906 #142308 #2F5514 #4A8720 #66B82B

Accessibility & contrast

On white

8.64
#2F5514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F5514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5514
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5514#FFFFFF#000000##FFFFFF
##2F55141.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E09
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#2E5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f5514;
/* rgb */ color: rgb(47, 85, 20);
/* oklch */ color: oklch(40.6% 0.103 135.0);
Tailwind
colors: {
  custom: {
    50: '#6b8556',
    500: '#2f5514',
    950: '#000000',
  },
}
SCSS
$custom: #2f5514;
$custom-light: #6b8556;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5514",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 20
  },
  "hsl": {
    "h": 95.077,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40635,
    "c": 0.10266,
    "h": 135
  },
  "luminance": 0.07152
}

Semantic roles & 50–950 ramp

primary
#2F5514
secondary
#6A388D
accent
#43E5A2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5514

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

Preview Lab → · Contrast checker → · Palette generator →

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