#2A230B#2A230B

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

Color values

HEX#2A230B
RGBrgb(42, 35, 11)
HSLhsl(46, 58%, 10%)
HSVhsv(46, 74%, 16%)
CMYKcmyk(0%, 16.7%, 73.8%, 83.5%)
CIE-LABlab(13.93, -0.45, 15.97)
CIE-LCHlch(13.93, 15.98, 91.61°)
OKLaboklab(25.79% -0.0022 0.0395)
OKLCHoklch(25.79% 0.04 93.2)
XYZxyz(1.6164, 1.7185, 0.5631)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A230B #0B122A
analogous
#2A130B #2A230B #212A0B
triadic
#2A230B #0B2A23 #230B2A
tetradic
#2A230B #0B2A13 #0B122A #2A0B21
square
#2A230B #0B2A13 #0B122A #2A0B21
split-complementary
#2A230B #0B212A #130B2A
monochromatic
#181406 #181406 #2A230B #5A4B18 #8B7424

Accessibility & contrast

On white

15.63
#2A230B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2A230B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A230B
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A230B#FFFFFF#000000##FFFFFF
##2A230B1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272209
Deuteranopia (green-blind)
#29240C
Tritanopia (blue-blind)
#2E201E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a230b;
/* rgb */ color: rgb(42, 35, 11);
/* oklch */ color: oklch(25.8% 0.040 93.2);
Tailwind
colors: {
  custom: {
    50: '#645d4c',
    500: '#2a230b',
    950: '#000000',
  },
}
SCSS
$custom: #2a230b;
$custom-light: #645d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a230b",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 11
  },
  "hsl": {
    "h": 46.452,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25793,
    "c": 0.03954,
    "h": 93.2
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#2A230B
secondary
#2B3866
accent
#69E246
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A230B

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

Preview Lab → · Contrast checker → · Palette generator →

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