#2A2D03#2A2D03

#2A2D03 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.060 H 113.7°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#2A2D03
RGBrgb(42, 45, 3)
HSLhsl(64, 88%, 9%)
HSVhsv(64, 93%, 18%)
CMYKcmyk(6.7%, 0%, 93.3%, 82.4%)
CIE-LABlab(17.35, -7.81, 23.56)
CIE-LCHlch(17.35, 24.82, 108.33°)
OKLaboklab(28.48% -0.0243 0.0553)
OKLCHoklch(28.48% 0.06 113.7)
XYZxyz(1.9097, 2.3756, 0.4441)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D03 #06032D
analogous
#2D1B03 #2A2D03 #152D03
triadic
#2A2D03 #032A2D #2D032A
tetradic
#2A2D03 #032D1B #06032D #2D0315
square
#2A2D03 #032D1B #06032D #2D0315
split-complementary
#2A2D03 #03152D #1B032D
monochromatic
#1B1D02 #1B1D02 #2A2D03 #606607 #95A00B

Accessibility & contrast

On white

14.24
#2A2D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A2D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D03
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D03#FFFFFF#000000##FFFFFF
##2A2D031.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#2E2A25
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d03;
/* rgb */ color: rgb(42, 45, 3);
/* oklch */ color: oklch(28.5% 0.060 113.7);
Tailwind
colors: {
  custom: {
    50: '#656548',
    500: '#2a2d03',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d03;
$custom-light: #656548;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d03",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 64.286,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2848,
    "c": 0.06044,
    "h": 113.7
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#2A2D03
secondary
#211B71
accent
#2AFE39
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2A2D03

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

Preview Lab → · Contrast checker → · Palette generator →

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