#2A2E03#2A2E03

#2A2E03 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 28.8% C 0.062 H 115.0°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#2A2E03
RGBrgb(42, 46, 3)
HSLhsl(66, 88%, 10%)
HSVhsv(66, 93%, 18%)
CMYKcmyk(8.7%, 0%, 93.5%, 82%)
CIE-LABlab(17.70, -8.44, 23.99)
CIE-LCHlch(17.70, 25.43, 109.38°)
OKLaboklab(28.77% -0.0261 0.056)
OKLCHoklch(28.77% 0.062 115)
XYZxyz(1.9483, 2.4528, 0.4569)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E03 #07032E
analogous
#2E1D03 #2A2E03 #152E03
triadic
#2A2E03 #032A2E #2E032A
tetradic
#2A2E03 #032E1D #07032E #2E0315
square
#2A2E03 #032E1D #07032E #2E0315
split-complementary
#2A2E03 #03152E #1D032E
monochromatic
#1A1D02 #1A1D02 #2A2E03 #5E6707 #93A10A

Accessibility & contrast

On white

14.09
#2A2E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2A2E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E03
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E03#FFFFFF#000000##FFFFFF
##2A2E031.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#322C06
Tritanopia (blue-blind)
#2E2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2e03;
/* rgb */ color: rgb(42, 46, 3);
/* oklch */ color: oklch(28.8% 0.062 115.0);
Tailwind
colors: {
  custom: {
    50: '#656648',
    500: '#2a2e03',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e03;
$custom-light: #656648;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e03",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 3
  },
  "hsl": {
    "h": 65.581,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28767,
    "c": 0.06177,
    "h": 115
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#2A2E03
secondary
#231B72
accent
#2AFE3E
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A2E03

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

Preview Lab → · Contrast checker → · Palette generator →

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