#2F4510#2F4510

#2F4510 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.082 H 129.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2F4510
RGBrgb(47, 69, 16)
HSLhsl(85, 62%, 17%)
HSVhsv(85, 77%, 27%)
CMYKcmyk(31.9%, 0%, 76.8%, 72.9%)
CIE-LABlab(26.44, -18.29, 27.98)
CIE-LCHlch(26.44, 33.43, 123.18°)
OKLaboklab(35.97% -0.0519 0.0634)
OKLCHoklch(35.97% 0.082 129.3)
XYZxyz(3.3939, 4.8979, 1.2567)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4510 #261045
analogous
#454110 #2F4510 #154510
triadic
#2F4510 #102F45 #45102F
tetradic
#2F4510 #104541 #261045 #451015
square
#2F4510 #104541 #261045 #451015
split-complementary
#2F4510 #101545 #411045
monochromatic
#111906 #111906 #2F4510 #51771C #73A827

Accessibility & contrast

On white

10.61
#2F4510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F4510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4510
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4510#FFFFFF#000000##FFFFFF
##2F45101.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494008
Deuteranopia (green-blind)
#463E14
Tritanopia (blue-blind)
#31423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4510;
/* rgb */ color: rgb(47, 69, 16);
/* oklch */ color: oklch(36.0% 0.082 129.3);
Tailwind
colors: {
  custom: {
    50: '#6a7852',
    500: '#2f4510',
    950: '#000000',
  },
}
SCSS
$custom: #2f4510;
$custom-light: #6a7852;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4510",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 16
  },
  "hsl": {
    "h": 84.906,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35968,
    "c": 0.08192,
    "h": 129.3
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#2F4510
secondary
#52327F
accent
#42E586
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2F4510

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

Preview Lab → · Contrast checker → · Palette generator →

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