#2B420A#2B420A

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

Color values

HEX#2B420A
RGBrgb(43, 66, 10)
HSLhsl(85, 74%, 15%)
HSVhsv(85, 85%, 26%)
CMYKcmyk(34.8%, 0%, 84.8%, 74.1%)
CIE-LABlab(25.05, -18.94, 29.11)
CIE-LCHlch(25.05, 34.73, 123.05°)
OKLaboklab(34.75% -0.054 0.0648)
OKLCHoklch(34.75% 0.084 129.8)
XYZxyz(2.9992, 4.4318, 0.9845)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B420A #210A42
analogous
#423D0A #2B420A #0F420A
triadic
#2B420A #0A2B42 #420A2B
tetradic
#2B420A #0A423D #210A42 #420A0F
square
#2B420A #0A423D #210A42 #420A0F
split-complementary
#2B420A #0A0F42 #3D0A42
monochromatic
#111B04 #111B04 #2B420A #4E7712 #70AC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B420A#FFFFFF#000000##FFFFFF
##2B420A1.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)
#463C02
Deuteranopia (green-blind)
#423B10
Tritanopia (blue-blind)
#2C3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b420a;
/* rgb */ color: rgb(43, 66, 10);
/* oklch */ color: oklch(34.8% 0.084 129.8);
Tailwind
colors: {
  custom: {
    50: '#67764e',
    500: '#2b420a',
    950: '#000000',
  },
}
SCSS
$custom: #2b420a;
$custom-light: #67764e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b420a",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 84.643,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3475,
    "c": 0.08432,
    "h": 129.8
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#2B420A
secondary
#4C297F
accent
#37F083
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B420A

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

Preview Lab → · Contrast checker → · Palette generator →

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