#2F5619#2F5619

#2F5619 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.100 H 136.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2F5619
RGBrgb(47, 86, 25)
HSLhsl(98, 55%, 22%)
HSVhsv(98, 71%, 34%)
CMYKcmyk(45.3%, 0%, 70.9%, 66.3%)
CIE-LABlab(32.55, -26.05, 30.17)
CIE-LCHlch(32.55, 39.86, 130.81°)
OKLaboklab(40.97% -0.0723 0.0694)
OKLCHoklch(40.97% 0.1 136.2)
XYZxyz(4.6754, 7.3298, 2.0880)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5619 #401956
analogous
#4E5619 #2F5619 #195622
triadic
#2F5619 #192F56 #56192F
tetradic
#2F5619 #194E56 #401956 #562219
square
#2F5619 #194E56 #401956 #562219
split-complementary
#2F5619 #221956 #56194E
monochromatic
#0D1807 #15270B #2F5619 #498527 #63B535

Accessibility & contrast

On white

8.52
#2F5619 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F5619 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5619
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5619#FFFFFF#000000##FFFFFF
##2F56191.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F11
Deuteranopia (green-blind)
#544B1E
Tritanopia (blue-blind)
#2E5349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5619;
/* rgb */ color: rgb(47, 86, 25);
/* oklch */ color: oklch(41.0% 0.100 136.2);
Tailwind
colors: {
  custom: {
    50: '#6b8659',
    500: '#2f5619',
    950: '#000000',
  },
}
SCSS
$custom: #2f5619;
$custom-light: #6b8659;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5619",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 25
  },
  "hsl": {
    "h": 98.361,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.10015,
    "h": 136.2
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#2F5619
secondary
#703E8C
accent
#4ADEA9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F5619

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

Preview Lab → · Contrast checker → · Palette generator →

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