#2F4511#2F4511

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

Color values

HEX#2F4511
RGBrgb(47, 69, 17)
HSLhsl(85, 60%, 17%)
HSVhsv(85, 75%, 27%)
CMYKcmyk(31.9%, 0%, 75.4%, 72.9%)
CIE-LABlab(26.45, -18.21, 27.51)
CIE-LCHlch(26.45, 32.99, 123.49°)
OKLaboklab(35.98% -0.0516 0.0626)
OKLCHoklch(35.98% 0.081 129.5)
XYZxyz(3.4016, 4.9010, 1.2970)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4511 #271145
analogous
#454111 #2F4511 #154511
triadic
#2F4511 #112F45 #45112F
tetradic
#2F4511 #114541 #271145 #451115
square
#2F4511 #114541 #271145 #451115
split-complementary
#2F4511 #111545 #411145
monochromatic
#111906 #111906 #2F4511 #50761D #72A729

Accessibility & contrast

On white

10.60
#2F4511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4511
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4511#FFFFFF#000000##FFFFFF
##2F45111.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400A
Deuteranopia (green-blind)
#463E15
Tritanopia (blue-blind)
#30423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4511;
/* rgb */ color: rgb(47, 69, 17);
/* oklch */ color: oklch(36.0% 0.081 129.5);
Tailwind
colors: {
  custom: {
    50: '#6a7852',
    500: '#2f4511',
    950: '#000000',
  },
}
SCSS
$custom: #2f4511;
$custom-light: #6a7852;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4511",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 17
  },
  "hsl": {
    "h": 85.385,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35978,
    "c": 0.0811,
    "h": 129.5
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#2F4511
secondary
#53337F
accent
#44E488
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2F4511

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

Preview Lab → · Contrast checker → · Palette generator →

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