#2F5419#2F5419

#2F5419 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.097 H 135.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2F5419
RGBrgb(47, 84, 25)
HSLhsl(98, 54%, 21%)
HSVhsv(98, 70%, 33%)
CMYKcmyk(44%, 0%, 70.2%, 67.1%)
CIE-LABlab(31.84, -25.09, 29.40)
CIE-LCHlch(31.84, 38.65, 130.47°)
OKLaboklab(40.4% -0.0696 0.0677)
OKLCHoklch(40.4% 0.097 135.8)
XYZxyz(4.5180, 7.0149, 2.0355)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5419 #3E1954
analogous
#4D5419 #2F5419 #195421
triadic
#2F5419 #192F54 #54192F
tetradic
#2F5419 #194D54 #3E1954 #542119
square
#2F5419 #194D54 #3E1954 #542119
split-complementary
#2F5419 #211954 #54194D
monochromatic
#0D1807 #15250B #2F5419 #498327 #64B235

Accessibility & contrast

On white

8.74
#2F5419 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5419
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5419#FFFFFF#000000##FFFFFF
##2F54191.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D12
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#2E5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f5419;
/* rgb */ color: rgb(47, 84, 25);
/* oklch */ color: oklch(40.4% 0.097 135.8);
Tailwind
colors: {
  custom: {
    50: '#6b8459',
    500: '#2f5419',
    950: '#000000',
  },
}
SCSS
$custom: #2f5419;
$custom-light: #6b8459;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5419",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 25
  },
  "hsl": {
    "h": 97.627,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40397,
    "c": 0.09716,
    "h": 135.8
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#2F5419
secondary
#6E3E8A
accent
#4ADDA7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5419

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

Preview Lab → · Contrast checker → · Palette generator →

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