#2B450B#2B450B

#2B450B is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.088 H 131.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2B450B
RGBrgb(43, 69, 11)
HSLhsl(87, 73%, 16%)
HSVhsv(87, 84%, 27%)
CMYKcmyk(37.7%, 0%, 84.1%, 72.9%)
CIE-LABlab(26.14, -20.44, 29.76)
CIE-LCHlch(26.14, 36.10, 124.48°)
OKLaboklab(35.64% -0.0579 0.0663)
OKLCHoklch(35.64% 0.088 131.1)
XYZxyz(3.1848, 4.7939, 1.0741)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B450B #250B45
analogous
#45420B #2B450B #0E450B
triadic
#2B450B #0B2B45 #450B2B
tetradic
#2B450B #0B4542 #250B45 #450B0E
square
#2B450B #0B4542 #250B45 #450B0E
split-complementary
#2B450B #0B0E45 #420B45
monochromatic
#101A04 #101A04 #2B450B #4C7A13 #6DAF1C

Accessibility & contrast

On white

10.72
#2B450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B450B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B450B#FFFFFF#000000##FFFFFF
##2B450B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F02
Deuteranopia (green-blind)
#453D11
Tritanopia (blue-blind)
#2C423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b450b;
/* rgb */ color: rgb(43, 69, 11);
/* oklch */ color: oklch(35.6% 0.088 131.1);
Tailwind
colors: {
  custom: {
    50: '#67794f',
    500: '#2b450b',
    950: '#000000',
  },
}
SCSS
$custom: #2b450b;
$custom-light: #67794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b450b",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 86.897,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35639,
    "c": 0.08807,
    "h": 131.1
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#2B450B
secondary
#512A81
accent
#39EF8A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B450B

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

Preview Lab → · Contrast checker → · Palette generator →

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