#2B420B#2B420B

#2B420B is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.084 H 129.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2B420B
RGBrgb(43, 66, 11)
HSLhsl(85, 71%, 15%)
HSVhsv(85, 83%, 26%)
CMYKcmyk(34.8%, 0%, 83.3%, 74.1%)
CIE-LABlab(25.06, -18.87, 28.71)
CIE-LCHlch(25.06, 34.36, 123.32°)
OKLaboklab(34.76% -0.0537 0.0641)
OKLCHoklch(34.76% 0.084 129.9)
XYZxyz(3.0049, 4.4341, 1.0141)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B420B #220B42
analogous
#423E0B #2B420B #0F420B
triadic
#2B420B #0B2B42 #420B2B
tetradic
#2B420B #0B423E #220B42 #420B0F
square
#2B420B #0B423E #220B42 #420B0F
split-complementary
#2B420B #0B0F42 #3E0B42
monochromatic
#111A04 #111A04 #2B420B #4D7614 #6FAB1C

Accessibility & contrast

On white

11.13
#2B420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B420B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B420B#FFFFFF#000000##FFFFFF
##2B420B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D03
Deuteranopia (green-blind)
#423B10
Tritanopia (blue-blind)
#2C3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b420b;
/* rgb */ color: rgb(43, 66, 11);
/* oklch */ color: oklch(34.8% 0.084 129.9);
Tailwind
colors: {
  custom: {
    50: '#67764e',
    500: '#2b420b',
    950: '#000000',
  },
}
SCSS
$custom: #2b420b;
$custom-light: #67764e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b420b",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 85.091,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34758,
    "c": 0.08363,
    "h": 129.9
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#2B420B
secondary
#4D2A7F
accent
#3AEE85
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B420B

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

Preview Lab → · Contrast checker → · Palette generator →

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