#2F5819#2F5819

#2F5819 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.6% C 0.103 H 136.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2F5819
RGBrgb(47, 88, 25)
HSLhsl(99, 56%, 22%)
HSVhsv(99, 72%, 35%)
CMYKcmyk(46.6%, 0%, 71.6%, 65.5%)
CIE-LABlab(33.25, -27.00, 30.93)
CIE-LCHlch(33.25, 41.05, 131.12°)
OKLaboklab(41.55% -0.0748 0.071)
OKLCHoklch(41.55% 0.103 136.5)
XYZxyz(4.8373, 7.6537, 2.1419)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5819 #421958
analogous
#4F5819 #2F5819 #195823
triadic
#2F5819 #192F58 #58192F
tetradic
#2F5819 #194F58 #421958 #582319
square
#2F5819 #194F58 #421958 #582319
split-complementary
#2F5819 #231958 #58194F
monochromatic
#0D1807 #16280B #2F5819 #488827 #62B734

Accessibility & contrast

On white

8.30
#2F5819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F5819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5819
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5819#FFFFFF#000000##FFFFFF
##2F58191.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5011
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#2D554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f5819;
/* rgb */ color: rgb(47, 88, 25);
/* oklch */ color: oklch(41.6% 0.103 136.5);
Tailwind
colors: {
  custom: {
    50: '#6b8759',
    500: '#2f5819',
    950: '#000000',
  },
}
SCSS
$custom: #2f5819;
$custom-light: #6b8759;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5819",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 99.048,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.10313,
    "h": 136.5
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#2F5819
secondary
#723E8E
accent
#49DFAB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F5819

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

Preview Lab → · Contrast checker → · Palette generator →

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