#2F4316#2F4316

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

Color values

HEX#2F4316
RGBrgb(47, 67, 22)
HSLhsl(87, 51%, 17%)
HSVhsv(87, 67%, 26%)
CMYKcmyk(29.9%, 0%, 67.2%, 73.7%)
CIE-LABlab(25.79, -16.63, 24.26)
CIE-LCHlch(25.79, 29.41, 124.43°)
OKLaboklab(35.46% -0.0467 0.0564)
OKLCHoklch(35.46% 0.073 129.6)
XYZxyz(3.3242, 4.6765, 1.4864)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4316 #2A1643
analogous
#434116 #2F4316 #184316
triadic
#2F4316 #162F43 #43162F
tetradic
#2F4316 #164341 #2A1643 #431618
square
#2F4316 #164341 #2A1643 #431618
split-complementary
#2F4316 #161843 #411643
monochromatic
#101708 #101708 #2F4316 #4F7125 #709F34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4316#FFFFFF#000000##FFFFFF
##2F43161.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)
#463E11
Deuteranopia (green-blind)
#433D19
Tritanopia (blue-blind)
#304039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f4316;
/* rgb */ color: rgb(47, 67, 22);
/* oklch */ color: oklch(35.5% 0.073 129.6);
Tailwind
colors: {
  custom: {
    50: '#697755',
    500: '#2f4316',
    950: '#000000',
  },
}
SCSS
$custom: #2f4316;
$custom-light: #697755;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4316",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 22
  },
  "hsl": {
    "h": 86.667,
    "s": 50.562,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3546,
    "c": 0.07326,
    "h": 129.6
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#2F4316
secondary
#573A7A
accent
#4EDA8C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F4316

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

Preview Lab → · Contrast checker → · Palette generator →

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