#2B420E#2B420E

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

Color values

HEX#2B420E
RGBrgb(43, 66, 14)
HSLhsl(87, 65%, 16%)
HSVhsv(87, 79%, 26%)
CMYKcmyk(34.8%, 0%, 78.8%, 74.1%)
CIE-LABlab(25.08, -18.64, 27.42)
CIE-LCHlch(25.08, 33.16, 124.21°)
OKLaboklab(34.78% -0.0528 0.062)
OKLCHoklch(34.78% 0.081 130.4)
XYZxyz(3.0237, 4.4416, 1.1134)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B420E #250E42
analogous
#423F0E #2B420E #11420E
triadic
#2B420E #0E2B42 #420E2B
tetradic
#2B420E #0E423F #250E42 #420E11
square
#2B420E #0E423F #250E42 #420E11
split-complementary
#2B420E #0E1142 #3F0E42
monochromatic
#101905 #101905 #2B420E #4C7419 #6DA723

Accessibility & contrast

On white

11.12
#2B420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B420E
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B420E#FFFFFF#000000##FFFFFF
##2B420E1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D06
Deuteranopia (green-blind)
#423B13
Tritanopia (blue-blind)
#2C3F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b420e;
/* rgb */ color: rgb(43, 66, 14);
/* oklch */ color: oklch(34.8% 0.081 130.4);
Tailwind
colors: {
  custom: {
    50: '#677650',
    500: '#2b420e',
    950: '#000000',
  },
}
SCSS
$custom: #2b420e;
$custom-light: #677650;
$custom-dark: #000000;
JSON
{
  "hex": "#2b420e",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 86.538,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.08139,
    "h": 130.4
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#2B420E
secondary
#512F7D
accent
#40E88A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B420E

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

Preview Lab → · Contrast checker → · Palette generator →

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