#2B451A#2B451A

#2B451A is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.075 H 134.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2B451A
RGBrgb(43, 69, 26)
HSLhsl(96, 45%, 19%)
HSVhsv(96, 62%, 27%)
CMYKcmyk(37.7%, 0%, 62.3%, 72.9%)
CIE-LABlab(26.29, -18.98, 22.55)
CIE-LCHlch(26.29, 29.47, 130.08°)
OKLaboklab(35.81% -0.0526 0.0533)
OKLCHoklch(35.81% 0.075 134.6)
XYZxyz(3.3108, 4.8443, 1.7377)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B451A #341A45
analogous
#40451A #2B451A #1A451E
triadic
#2B451A #1A2B45 #451A2B
tetradic
#2B451A #1A4045 #341A45 #451E1A
square
#2B451A #1A4045 #341A45 #451E1A
split-complementary
#2B451A #1E1A45 #451A40
monochromatic
#0E1608 #0F1909 #2B451A #47712B #629E3B

Accessibility & contrast

On white

10.67
#2B451A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B451A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B451A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B451A#FFFFFF#000000##FFFFFF
##2B451A1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484016
Deuteranopia (green-blind)
#443D1D
Tritanopia (blue-blind)
#2B423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b451a;
/* rgb */ color: rgb(43, 69, 26);
/* oklch */ color: oklch(35.8% 0.075 134.6);
Tailwind
colors: {
  custom: {
    50: '#667958',
    500: '#2b451a',
    950: '#000000',
  },
}
SCSS
$custom: #2b451a;
$custom-light: #667958;
$custom-dark: #000000;
JSON
{
  "hex": "#2b451a",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 96.279,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35806,
    "c": 0.07483,
    "h": 134.6
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#2B451A
secondary
#64407B
accent
#53D5A2
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B451A

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

Preview Lab → · Contrast checker → · Palette generator →

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