#2F5519#2F5519

#2F5519 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.099 H 136.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2F5519
RGBrgb(47, 85, 25)
HSLhsl(98, 55%, 22%)
HSVhsv(98, 71%, 33%)
CMYKcmyk(44.7%, 0%, 70.6%, 66.7%)
CIE-LABlab(32.19, -25.57, 29.79)
CIE-LCHlch(32.19, 39.26, 130.65°)
OKLaboklab(40.69% -0.071 0.0685)
OKLCHoklch(40.69% 0.099 136)
XYZxyz(4.5961, 7.1713, 2.0615)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5519 #3F1955
analogous
#4D5519 #2F5519 #195521
triadic
#2F5519 #192F55 #55192F
tetradic
#2F5519 #194D55 #3F1955 #552119
square
#2F5519 #194D55 #3F1955 #552119
split-complementary
#2F5519 #211955 #55194D
monochromatic
#0D1807 #15260B #2F5519 #498427 #63B435

Accessibility & contrast

On white

8.63
#2F5519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5519
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5519#FFFFFF#000000##FFFFFF
##2F55191.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E11
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#2E5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f5519;
/* rgb */ color: rgb(47, 85, 25);
/* oklch */ color: oklch(40.7% 0.099 136.0);
Tailwind
colors: {
  custom: {
    50: '#6b8559',
    500: '#2f5519',
    950: '#000000',
  },
}
SCSS
$custom: #2f5519;
$custom-light: #6b8559;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5519",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 25
  },
  "hsl": {
    "h": 98,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.09866,
    "h": 136
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#2F5519
secondary
#6F3E8B
accent
#4ADEA8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5519

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

Preview Lab → · Contrast checker → · Palette generator →

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