#2B4417#2B4417

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

Color values

HEX#2B4417
RGBrgb(43, 68, 23)
HSLhsl(93, 49%, 18%)
HSVhsv(93, 66%, 27%)
CMYKcmyk(36.8%, 0%, 66.2%, 73.3%)
CIE-LABlab(25.89, -18.81, 23.76)
CIE-LCHlch(25.89, 30.30, 128.37°)
OKLaboklab(35.47% -0.0524 0.0555)
OKLCHoklch(35.47% 0.076 133.3)
XYZxyz(3.2180, 4.7096, 1.5499)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4417 #301744
analogous
#414417 #2B4417 #174419
triadic
#2B4417 #172B44 #44172B
tetradic
#2B4417 #174144 #301744 #441917
square
#2B4417 #174144 #301744 #441917
split-complementary
#2B4417 #191744 #441741
monochromatic
#0E1708 #0E1708 #2B4417 #487226 #659F36

Accessibility & contrast

On white

10.81
#2B4417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4417
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4417#FFFFFF#000000##FFFFFF
##2B44171.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F12
Deuteranopia (green-blind)
#433D1A
Tritanopia (blue-blind)
#2B413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b4417;
/* rgb */ color: rgb(43, 68, 23);
/* oklch */ color: oklch(35.5% 0.076 133.3);
Tailwind
colors: {
  custom: {
    50: '#667856',
    500: '#2b4417',
    950: '#000000',
  },
}
SCSS
$custom: #2b4417;
$custom-light: #667856;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4417",
  "rgb": {
    "r": 43,
    "g": 68,
    "b": 23
  },
  "hsl": {
    "h": 93.333,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35472,
    "c": 0.07633,
    "h": 133.3
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#2B4417
secondary
#5F3C7B
accent
#4FD99C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4417

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

Preview Lab → · Contrast checker → · Palette generator →

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