#2A2E04#2A2E04

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

Color values

HEX#2A2E04
RGBrgb(42, 46, 4)
HSLhsl(66, 84%, 10%)
HSVhsv(66, 91%, 18%)
CMYKcmyk(8.7%, 0%, 91.3%, 82%)
CIE-LABlab(17.71, -8.35, 23.59)
CIE-LCHlch(17.71, 25.03, 109.49°)
OKLaboklab(28.78% -0.0256 0.055)
OKLCHoklch(28.78% 0.061 115)
XYZxyz(1.9538, 2.4550, 0.4858)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E04 #08042E
analogous
#2E1D04 #2A2E04 #152E04
triadic
#2A2E04 #042A2E #2E042A
tetradic
#2A2E04 #042E1D #08042E #2E0415
square
#2A2E04 #042E1D #08042E #2E0415
split-complementary
#2A2E04 #04152E #1D042E
monochromatic
#1A1C02 #1A1C02 #2A2E04 #5D6609 #919F0E

Accessibility & contrast

On white

14.08
#2A2E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E04
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E04#FFFFFF#000000##FFFFFF
##2A2E041.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2e04;
/* rgb */ color: rgb(42, 46, 4);
/* oklch */ color: oklch(28.8% 0.061 115.0);
Tailwind
colors: {
  custom: {
    50: '#656649',
    500: '#2a2e04',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e04;
$custom-light: #656649;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e04",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 65.714,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28778,
    "c": 0.06071,
    "h": 115
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#2A2E04
secondary
#251D71
accent
#2EFA41
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2E04

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

Preview Lab → · Contrast checker → · Palette generator →

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