#2F5810#2F5810

#2F5810 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.110 H 135.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2F5810
RGBrgb(47, 88, 16)
HSLhsl(94, 69%, 20%)
HSVhsv(94, 82%, 35%)
CMYKcmyk(46.6%, 0%, 81.8%, 65.5%)
CIE-LABlab(33.18, -27.74, 34.70)
CIE-LCHlch(33.18, 44.43, 128.64°)
OKLaboklab(41.47% -0.0776 0.0775)
OKLCHoklch(41.47% 0.11 135)
XYZxyz(4.7554, 7.6209, 1.7105)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5810 #391058
analogous
#535810 #2F5810 #105815
triadic
#2F5810 #102F58 #58102F
tetradic
#2F5810 #105358 #391058 #581510
square
#2F5810 #105358 #391058 #581510
split-complementary
#2F5810 #151058 #581053
monochromatic
#0E1A05 #132407 #2F5810 #4B8C19 #66C023

Accessibility & contrast

On white

8.32
#2F5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5810
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5810#FFFFFF#000000##FFFFFF
##2F58101.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5002
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#2E544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f5810;
/* rgb */ color: rgb(47, 88, 16);
/* oklch */ color: oklch(41.5% 0.110 135.0);
Tailwind
colors: {
  custom: {
    50: '#6c8754',
    500: '#2f5810',
    950: '#000000',
  },
}
SCSS
$custom: #2f5810;
$custom-light: #6c8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5810",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 94.167,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.10963,
    "h": 135
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#2F5810
secondary
#683291
accent
#3CECA0
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5810

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

Preview Lab → · Contrast checker → · Palette generator →

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