#2A230A#2A230A

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

Color values

HEX#2A230A
RGBrgb(42, 35, 10)
HSLhsl(47, 62%, 10%)
HSVhsv(47, 76%, 16%)
CMYKcmyk(0%, 16.7%, 76.2%, 83.5%)
CIE-LABlab(13.92, -0.55, 16.37)
CIE-LCHlch(13.92, 16.38, 91.91°)
OKLaboklab(25.78% -0.0026 0.0406)
OKLCHoklch(25.78% 0.041 93.7)
XYZxyz(1.6107, 1.7163, 0.5335)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A230A #0A112A
analogous
#2A130A #2A230A #212A0A
triadic
#2A230A #0A2A23 #230A2A
tetradic
#2A230A #0A2A13 #0A112A #2A0A21
square
#2A230A #0A2A13 #0A112A #2A0A21
split-complementary
#2A230A #0A212A #130A2A
monochromatic
#191506 #191506 #2A230A #5B4C16 #8D7522

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A230A#FFFFFF#000000##FFFFFF
##2A230A1.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)
#272208
Deuteranopia (green-blind)
#29240B
Tritanopia (blue-blind)
#2E201E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a230a;
/* rgb */ color: rgb(42, 35, 10);
/* oklch */ color: oklch(25.8% 0.041 93.7);
Tailwind
colors: {
  custom: {
    50: '#645d4b',
    500: '#2a230a',
    950: '#000000',
  },
}
SCSS
$custom: #2a230a;
$custom-light: #645d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a230a",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 10
  },
  "hsl": {
    "h": 46.875,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25778,
    "c": 0.04067,
    "h": 93.7
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#2A230A
secondary
#293667
accent
#66E543
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A230A

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

Preview Lab → · Contrast checker → · Palette generator →

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