#2F5413#2F5413

#2F5413 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.102 H 134.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2F5413
RGBrgb(47, 84, 19)
HSLhsl(94, 63%, 20%)
HSVhsv(94, 77%, 33%)
CMYKcmyk(44%, 0%, 77.4%, 67.1%)
CIE-LABlab(31.79, -25.64, 32.11)
CIE-LCHlch(31.79, 41.09, 128.61°)
OKLaboklab(40.34% -0.0716 0.0725)
OKLCHoklch(40.34% 0.102 134.7)
XYZxyz(4.4601, 6.9918, 1.7305)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5413 #381354
analogous
#4F5413 #2F5413 #135417
triadic
#2F5413 #132F54 #54132F
tetradic
#2F5413 #134F54 #381354 #541713
square
#2F5413 #134F54 #381354 #541713
split-complementary
#2F5413 #171354 #54134F
monochromatic
#0E1906 #132208 #2F5413 #4B861E #67B82A

Accessibility & contrast

On white

8.76
#2F5413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F5413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5413
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5413#FFFFFF#000000##FFFFFF
##2F54131.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D08
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#2E5147
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f5413;
/* rgb */ color: rgb(47, 84, 19);
/* oklch */ color: oklch(40.3% 0.102 134.7);
Tailwind
colors: {
  custom: {
    50: '#6b8455',
    500: '#2f5413',
    950: '#000000',
  },
}
SCSS
$custom: #2f5413;
$custom-light: #6b8455;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5413",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 94.154,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.10195,
    "h": 134.7
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#2F5413
secondary
#67368C
accent
#42E69F
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5413

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

Preview Lab → · Contrast checker → · Palette generator →

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