#2A2C05#2A2C05

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

Color values

HEX#2A2C05
RGBrgb(42, 44, 5)
HSLhsl(63, 80%, 10%)
HSVhsv(63, 89%, 17%)
CMYKcmyk(4.5%, 0%, 88.6%, 82.7%)
CIE-LABlab(17.01, -7.00, 22.33)
CIE-LCHlch(17.01, 23.40, 107.39°)
OKLaboklab(28.22% -0.0217 0.0526)
OKLCHoklch(28.22% 0.057 112.4)
XYZxyz(1.8830, 2.3046, 0.4892)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C05 #07052C
analogous
#2C1B05 #2A2C05 #172C05
triadic
#2A2C05 #052A2C #2C052A
tetradic
#2A2C05 #052C1B #07052C #2C0517
square
#2A2C05 #052C1B #07052C #2C0517
split-complementary
#2A2C05 #05172C #1B052C
monochromatic
#1A1B03 #1A1B03 #2A2C05 #5E630B #939A11

Accessibility & contrast

On white

14.37
#2A2C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2C05
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C05#FFFFFF#000000##FFFFFF
##2A2C051.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302901
Deuteranopia (green-blind)
#302A08
Tritanopia (blue-blind)
#2E2924
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2c05;
/* rgb */ color: rgb(42, 44, 5);
/* oklch */ color: oklch(28.2% 0.057 112.4);
Tailwind
colors: {
  custom: {
    50: '#656449',
    500: '#2a2c05',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c05;
$custom-light: #656449;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c05",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 63.077,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28218,
    "c": 0.05695,
    "h": 112.4
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#2A2C05
secondary
#231F6E
accent
#32F63C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2A2C05

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

Preview Lab → · Contrast checker → · Palette generator →

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