#2A2C03#2A2C03

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

Color values

HEX#2A2C03
RGBrgb(42, 44, 3)
HSLhsl(63, 87%, 9%)
HSVhsv(63, 93%, 17%)
CMYKcmyk(4.5%, 0%, 93.2%, 82.7%)
CIE-LABlab(16.99, -7.17, 23.12)
CIE-LCHlch(16.99, 24.21, 107.23°)
OKLaboklab(28.19% -0.0226 0.0547)
OKLCHoklch(28.19% 0.059 112.4)
XYZxyz(1.8720, 2.3002, 0.4315)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C03 #05032C
analogous
#2C1A03 #2A2C03 #162C03
triadic
#2A2C03 #032A2C #2C032A
tetradic
#2A2C03 #032C1A #05032C #2C0316
square
#2A2C03 #032C1A #05032C #2C0316
split-complementary
#2A2C03 #03162C #1A032C
monochromatic
#1B1D02 #1B1D02 #2A2C03 #616507 #979F0B

Accessibility & contrast

On white

14.38
#2A2C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2C03
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C03#FFFFFF#000000##FFFFFF
##2A2C031.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2c03;
/* rgb */ color: rgb(42, 44, 3);
/* oklch */ color: oklch(28.2% 0.059 112.4);
Tailwind
colors: {
  custom: {
    50: '#656448',
    500: '#2a2c03',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c03;
$custom-light: #656448;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c03",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 62.927,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28194,
    "c": 0.05913,
    "h": 112.4
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#2A2C03
secondary
#1F1B70
accent
#2AFD35
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2A2C03

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

Preview Lab → · Contrast checker → · Palette generator →

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