#2A2C08#2A2C08

#2A2C08 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.054 H 112.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#2A2C08
RGBrgb(42, 44, 8)
HSLhsl(63, 69%, 10%)
HSVhsv(63, 82%, 17%)
CMYKcmyk(4.5%, 0%, 81.8%, 82.7%)
CIE-LABlab(17.04, -6.74, 21.15)
CIE-LCHlch(17.04, 22.20, 107.68°)
OKLaboklab(28.25% -0.0205 0.0497)
OKLCHoklch(28.25% 0.054 112.4)
XYZxyz(1.8994, 2.3112, 0.5757)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C08 #0A082C
analogous
#2C1C08 #2A2C08 #182C08
triadic
#2A2C08 #082A2C #2C082A
tetradic
#2A2C08 #082C1C #0A082C #2C0818
square
#2A2C08 #082C1C #0A082C #2C0818
split-complementary
#2A2C08 #08182C #1C082C
monochromatic
#191A05 #191A05 #2A2C08 #5B6011 #8D941B

Accessibility & contrast

On white

14.36
#2A2C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2A2C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C08
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C08#FFFFFF#000000##FFFFFF
##2A2C081.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A04
Deuteranopia (green-blind)
#302A0A
Tritanopia (blue-blind)
#2D2925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2c08;
/* rgb */ color: rgb(42, 44, 8);
/* oklch */ color: oklch(28.3% 0.054 112.4);
Tailwind
colors: {
  custom: {
    50: '#65644a',
    500: '#2a2c08',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c08;
$custom-light: #65644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c08",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 63.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28253,
    "c": 0.0538,
    "h": 112.4
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#2A2C08
secondary
#29256B
accent
#3CEC46
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2A2C08

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

Preview Lab → · Contrast checker → · Palette generator →

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