#2B450C#2B450C

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

Color values

HEX#2B450C
RGBrgb(43, 69, 12)
HSLhsl(87, 70%, 16%)
HSVhsv(87, 83%, 27%)
CMYKcmyk(37.7%, 0%, 82.6%, 72.9%)
CIE-LABlab(26.15, -20.37, 29.36)
CIE-LCHlch(26.15, 35.73, 124.75°)
OKLaboklab(35.65% -0.0577 0.0657)
OKLCHoklch(35.65% 0.087 131.3)
XYZxyz(3.1907, 4.7963, 1.1054)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B450C #260C45
analogous
#45420C #2B450C #0F450C
triadic
#2B450C #0C2B45 #450C2B
tetradic
#2B450C #0C4542 #260C45 #450C0F
square
#2B450C #0C4542 #260C45 #450C0F
split-complementary
#2B450C #0C0F45 #420C45
monochromatic
#101A05 #101A05 #2B450C #4B7915 #6CAD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B450C#FFFFFF#000000##FFFFFF
##2B450C1.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)
#483F03
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#2C423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b450c;
/* rgb */ color: rgb(43, 69, 12);
/* oklch */ color: oklch(35.6% 0.087 131.3);
Tailwind
colors: {
  custom: {
    50: '#67794f',
    500: '#2b450c',
    950: '#000000',
  },
}
SCSS
$custom: #2b450c;
$custom-light: #67794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b450c",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 87.368,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35647,
    "c": 0.08739,
    "h": 131.3
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#2B450C
secondary
#532C81
accent
#3BED8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B450C

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

Preview Lab → · Contrast checker → · Palette generator →

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