#2B451B#2B451B

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

Color values

HEX#2B451B
RGBrgb(43, 69, 27)
HSLhsl(97, 44%, 19%)
HSVhsv(97, 61%, 27%)
CMYKcmyk(37.7%, 0%, 60.9%, 72.9%)
CIE-LABlab(26.30, -18.85, 22.00)
CIE-LCHlch(26.30, 28.97, 130.58°)
OKLaboklab(35.82% -0.0521 0.0522)
OKLCHoklch(35.82% 0.074 135)
XYZxyz(3.3221, 4.8488, 1.7976)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B451B #351B45
analogous
#40451B #2B451B #1B4520
triadic
#2B451B #1B2B45 #451B2B
tetradic
#2B451B #1B4045 #351B45 #45201B
square
#2B451B #1B4045 #351B45 #45201B
split-complementary
#2B451B #201B45 #451B40
monochromatic
#0E1609 #10190A #2B451B #46712C #629D3D

Accessibility & contrast

On white

10.66
#2B451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B451B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B451B#FFFFFF#000000##FFFFFF
##2B451B1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484017
Deuteranopia (green-blind)
#443D1E
Tritanopia (blue-blind)
#2B423C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b451b;
/* rgb */ color: rgb(43, 69, 27);
/* oklch */ color: oklch(35.8% 0.074 135.0);
Tailwind
colors: {
  custom: {
    50: '#667959',
    500: '#2b451b',
    950: '#000000',
  },
}
SCSS
$custom: #2b451b;
$custom-light: #667959;
$custom-dark: #000000;
JSON
{
  "hex": "#2b451b",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 97.143,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.07375,
    "h": 135
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#2B451B
secondary
#65417B
accent
#54D3A3
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B451B

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

Preview Lab → · Contrast checker → · Palette generator →

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