#2A230E#2A230E

#2A230E is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.8% C 0.036 H 91.3°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#2A230E
RGBrgb(42, 35, 14)
HSLhsl(45, 50%, 11%)
HSVhsv(45, 67%, 16%)
CMYKcmyk(0%, 16.7%, 66.7%, 83.5%)
CIE-LABlab(13.98, -0.14, 14.63)
CIE-LCHlch(13.98, 14.63, 90.56°)
OKLaboklab(25.84% -0.0008 0.0359)
OKLCHoklch(25.84% 0.036 91.3)
XYZxyz(1.6352, 1.7261, 0.6624)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A230E #0E152A
analogous
#2A150E #2A230E #232A0E
triadic
#2A230E #0E2A23 #230E2A
tetradic
#2A230E #0E2A15 #0E152A #2A0E23
square
#2A230E #0E2A15 #0E152A #2A0E23
split-complementary
#2A230E #0E232A #150E2A
monochromatic
#171308 #171308 #2A230E #58491D #866F2D

Accessibility & contrast

On white

15.61
#2A230E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2A230E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A230E
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A230E#FFFFFF#000000##FFFFFF
##2A230E1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220C
Deuteranopia (green-blind)
#29240F
Tritanopia (blue-blind)
#2E201E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a230e;
/* rgb */ color: rgb(42, 35, 14);
/* oklch */ color: oklch(25.8% 0.036 91.3);
Tailwind
colors: {
  custom: {
    50: '#645d4d',
    500: '#2a230e',
    950: '#000000',
  },
}
SCSS
$custom: #2a230e;
$custom-light: #645d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a230e",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 14
  },
  "hsl": {
    "h": 45,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.25841,
    "c": 0.0359,
    "h": 91.3
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#2A230E
secondary
#303D64
accent
#71DA4E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A230E

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

Preview Lab → · Contrast checker → · Palette generator →

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