#2F4317#2F4317

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

Color values

HEX#2F4317
RGBrgb(47, 67, 23)
HSLhsl(87, 49%, 18%)
HSVhsv(87, 66%, 26%)
CMYKcmyk(29.9%, 0%, 65.7%, 73.7%)
CIE-LABlab(25.80, -16.51, 23.73)
CIE-LCHlch(25.80, 28.91, 124.84°)
OKLaboklab(35.47% -0.0463 0.0554)
OKLCHoklch(35.47% 0.072 129.9)
XYZxyz(3.3341, 4.6804, 1.5382)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4317 #2B1743
analogous
#434117 #2F4317 #194317
triadic
#2F4317 #172F43 #43172F
tetradic
#2F4317 #174341 #2B1743 #431719
square
#2F4317 #174341 #2B1743 #431719
split-complementary
#2F4317 #171943 #411743
monochromatic
#101708 #101708 #2F4317 #4F7127 #6F9E36

Accessibility & contrast

On white

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

On black

1.94
#2F4317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F4317#FFFFFF#000000##FFFFFF
##2F43171.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E12
Deuteranopia (green-blind)
#433D1A
Tritanopia (blue-blind)
#304039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f4317;
/* rgb */ color: rgb(47, 67, 23);
/* oklch */ color: oklch(35.5% 0.072 129.9);
Tailwind
colors: {
  custom: {
    50: '#697756',
    500: '#2f4317',
    950: '#000000',
  },
}
SCSS
$custom: #2f4317;
$custom-light: #697756;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4317",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 23
  },
  "hsl": {
    "h": 87.273,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35473,
    "c": 0.07222,
    "h": 129.9
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#2F4317
secondary
#583C7A
accent
#4FD88E
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F4317

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

Preview Lab → · Contrast checker → · Palette generator →

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