#2B4208#2B4208

#2B4208 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.086 H 129.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2B4208
RGBrgb(43, 66, 8)
HSLhsl(84, 78%, 15%)
HSVhsv(84, 88%, 26%)
CMYKcmyk(34.8%, 0%, 87.9%, 74.1%)
CIE-LABlab(25.04, -19.08, 29.91)
CIE-LCHlch(25.04, 35.48, 122.53°)
OKLaboklab(34.73% -0.0545 0.0661)
OKLCHoklch(34.73% 0.086 129.5)
XYZxyz(2.9883, 4.4275, 0.9268)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4208 #1F0842
analogous
#423C08 #2B4208 #0E4208
triadic
#2B4208 #082B42 #42082B
tetradic
#2B4208 #08423C #1F0842 #42080E
square
#2B4208 #08423C #1F0842 #42080E
split-complementary
#2B4208 #080E42 #3C0842
monochromatic
#121B03 #121B03 #2B4208 #4F790F #72AF15

Accessibility & contrast

On white

11.14
#2B4208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B4208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4208
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4208#FFFFFF#000000##FFFFFF
##2B42081.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463C00
Deuteranopia (green-blind)
#423B0E
Tritanopia (blue-blind)
#2D3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b4208;
/* rgb */ color: rgb(43, 66, 8);
/* oklch */ color: oklch(34.7% 0.086 129.5);
Tailwind
colors: {
  custom: {
    50: '#67764d',
    500: '#2b4208',
    950: '#000000',
  },
}
SCSS
$custom: #2b4208;
$custom-light: #67764d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4208",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 83.793,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34734,
    "c": 0.08565,
    "h": 129.5
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#2B4208
secondary
#492580
accent
#33F580
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B4208

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

Preview Lab → · Contrast checker → · Palette generator →

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