#2F5610#2F5610

#2F5610 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.107 H 134.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2F5610
RGBrgb(47, 86, 16)
HSLhsl(93, 69%, 20%)
HSVhsv(93, 81%, 34%)
CMYKcmyk(45.3%, 0%, 81.4%, 66.3%)
CIE-LABlab(32.47, -26.81, 34.02)
CIE-LCHlch(32.47, 43.32, 128.25°)
OKLaboklab(40.89% -0.0751 0.076)
OKLCHoklch(40.89% 0.107 134.6)
XYZxyz(4.5935, 7.2971, 1.6565)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5610 #371056
analogous
#525610 #2F5610 #105614
triadic
#2F5610 #102F56 #56102F
tetradic
#2F5610 #105256 #371056 #561410
square
#2F5610 #105256 #371056 #561410
split-complementary
#2F5610 #141056 #561052
monochromatic
#0E1A05 #132206 #2F5610 #4B8A1A #67BD23

Accessibility & contrast

On white

8.54
#2F5610 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F5610 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5610
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5610#FFFFFF#000000##FFFFFF
##2F56101.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E03
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#2E5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f5610;
/* rgb */ color: rgb(47, 86, 16);
/* oklch */ color: oklch(40.9% 0.107 134.6);
Tailwind
colors: {
  custom: {
    50: '#6c8654',
    500: '#2f5610',
    950: '#000000',
  },
}
SCSS
$custom: #2f5610;
$custom-light: #6c8654;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5610",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 16
  },
  "hsl": {
    "h": 93.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.10684,
    "h": 134.6
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#2F5610
secondary
#66328F
accent
#3CEB9E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5610

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

Preview Lab → · Contrast checker → · Palette generator →

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