#2A451C#2A451C

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

Color values

HEX#2A451C
RGBrgb(42, 69, 28)
HSLhsl(100, 42%, 19%)
HSVhsv(100, 59%, 27%)
CMYKcmyk(39.1%, 0%, 59.4%, 72.9%)
CIE-LABlab(26.25, -19.13, 21.36)
CIE-LCHlch(26.25, 28.67, 131.84°)
OKLaboklab(35.77% -0.0527 0.0509)
OKLCHoklch(35.77% 0.073 136)
XYZxyz(3.2925, 4.8322, 1.8576)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A451C #371C45
analogous
#3F451C #2A451C #1C4523
triadic
#2A451C #1C2A45 #451C2A
tetradic
#2A451C #1C3F45 #371C45 #45231C
square
#2A451C #1C3F45 #371C45 #45231C
split-complementary
#2A451C #231C45 #451C3F
monochromatic
#0D1609 #10190A #2A451C #45712E #5F9C3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A451C#FFFFFF#000000##FFFFFF
##2A451C1.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)
#474018
Deuteranopia (green-blind)
#443D1F
Tritanopia (blue-blind)
#29423C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a451c;
/* rgb */ color: rgb(42, 69, 28);
/* oklch */ color: oklch(35.8% 0.073 136.0);
Tailwind
colors: {
  custom: {
    50: '#657959',
    500: '#2a451c',
    950: '#000000',
  },
}
SCSS
$custom: #2a451c;
$custom-light: #657959;
$custom-dark: #000000;
JSON
{
  "hex": "#2a451c",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 28
  },
  "hsl": {
    "h": 99.512,
    "s": 42.268,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3577,
    "c": 0.07328,
    "h": 136
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#2A451C
secondary
#67427A
accent
#56D2A8
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A451C

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

Preview Lab → · Contrast checker → · Palette generator →

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