#2A451B#2A451B

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

Color values

HEX#2A451B
RGBrgb(42, 69, 27)
HSLhsl(99, 44%, 19%)
HSVhsv(99, 61%, 27%)
CMYKcmyk(39.1%, 0%, 60.9%, 72.9%)
CIE-LABlab(26.24, -19.26, 21.92)
CIE-LCHlch(26.24, 29.18, 131.31°)
OKLaboklab(35.75% -0.0532 0.052)
OKLCHoklch(35.75% 0.074 135.7)
XYZxyz(3.2807, 4.8275, 1.7956)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A451B #361B45
analogous
#3F451B #2A451B #1B4521
triadic
#2A451B #1B2A45 #451B2A
tetradic
#2A451B #1B3F45 #361B45 #45211B
square
#2A451B #1B3F45 #361B45 #45211B
split-complementary
#2A451B #211B45 #451B3F
monochromatic
#0D1609 #0F190A #2A451B #45712C #609D3D

Accessibility & contrast

On white

10.68
#2A451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A451B
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A451B#FFFFFF#000000##FFFFFF
##2A451B1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a451b;
/* rgb */ color: rgb(42, 69, 27);
/* oklch */ color: oklch(35.8% 0.074 135.7);
Tailwind
colors: {
  custom: {
    50: '#657959',
    500: '#2a451b',
    950: '#000000',
  },
}
SCSS
$custom: #2a451b;
$custom-light: #657959;
$custom-dark: #000000;
JSON
{
  "hex": "#2a451b",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 98.571,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35754,
    "c": 0.07439,
    "h": 135.7
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#2A451B
secondary
#66417B
accent
#54D3A6
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A451B

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

Preview Lab → · Contrast checker → · Palette generator →

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