#2F4315#2F4315

#2F4315 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.074 H 129.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2F4315
RGBrgb(47, 67, 21)
HSLhsl(86, 52%, 17%)
HSVhsv(86, 69%, 26%)
CMYKcmyk(29.9%, 0%, 68.7%, 73.7%)
CIE-LABlab(25.78, -16.73, 24.78)
CIE-LCHlch(25.78, 29.90, 124.03°)
OKLaboklab(35.45% -0.0471 0.0574)
OKLCHoklch(35.45% 0.074 129.4)
XYZxyz(3.3148, 4.6727, 1.4366)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4315 #291543
analogous
#434015 #2F4315 #184315
triadic
#2F4315 #152F43 #43152F
tetradic
#2F4315 #154340 #291543 #431518
square
#2F4315 #154340 #291543 #431518
split-complementary
#2F4315 #151843 #401543
monochromatic
#101707 #101707 #2F4315 #507224 #70A032

Accessibility & contrast

On white

10.85
#2F4315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F4315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4315
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4315#FFFFFF#000000##FFFFFF
##2F43151.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E10
Deuteranopia (green-blind)
#443D18
Tritanopia (blue-blind)
#304039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f4315;
/* rgb */ color: rgb(47, 67, 21);
/* oklch */ color: oklch(35.4% 0.074 129.4);
Tailwind
colors: {
  custom: {
    50: '#697754',
    500: '#2f4315',
    950: '#000000',
  },
}
SCSS
$custom: #2f4315;
$custom-light: #697754;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4315",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 21
  },
  "hsl": {
    "h": 86.087,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35447,
    "c": 0.07426,
    "h": 129.4
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#2F4315
secondary
#56397B
accent
#4CDC8B
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F4315

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

Preview Lab → · Contrast checker → · Palette generator →

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