#2F4513#2F4513

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

Color values

HEX#2F4513
RGBrgb(47, 69, 19)
HSLhsl(86, 57%, 17%)
HSVhsv(86, 72%, 27%)
CMYKcmyk(31.9%, 0%, 72.5%, 72.9%)
CIE-LABlab(26.47, -18.02, 26.56)
CIE-LCHlch(26.47, 32.10, 124.16°)
OKLaboklab(36% -0.0509 0.0609)
OKLCHoklch(36% 0.079 129.9)
XYZxyz(3.4179, 4.9075, 1.3831)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4513 #291345
analogous
#454213 #2F4513 #164513
triadic
#2F4513 #132F45 #45132F
tetradic
#2F4513 #134542 #291345 #451316
square
#2F4513 #134542 #291345 #451316
split-complementary
#2F4513 #131645 #421345
monochromatic
#101807 #101807 #2F4513 #507520 #70A52D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4513#FFFFFF#000000##FFFFFF
##2F45131.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)
#48400D
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#30423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4513;
/* rgb */ color: rgb(47, 69, 19);
/* oklch */ color: oklch(36.0% 0.079 129.9);
Tailwind
colors: {
  custom: {
    50: '#697853',
    500: '#2f4513',
    950: '#000000',
  },
}
SCSS
$custom: #2f4513;
$custom-light: #697853;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4513",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 19
  },
  "hsl": {
    "h": 86.4,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35999,
    "c": 0.07934,
    "h": 129.9
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#2F4513
secondary
#56367E
accent
#48E08B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2F4513

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

Preview Lab → · Contrast checker → · Palette generator →

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