#2A2E02#2A2E02

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

Color values

HEX#2A2E02
RGBrgb(42, 46, 2)
HSLhsl(65, 92%, 9%)
HSVhsv(65, 96%, 18%)
CMYKcmyk(8.7%, 0%, 95.7%, 82%)
CIE-LABlab(17.69, -8.52, 24.38)
CIE-LCHlch(17.69, 25.83, 109.26°)
OKLaboklab(28.76% -0.0265 0.057)
OKLCHoklch(28.76% 0.063 114.9)
XYZxyz(1.9429, 2.4507, 0.4281)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E02 #06022E
analogous
#2E1C02 #2A2E02 #142E02
triadic
#2A2E02 #022A2E #2E022A
tetradic
#2A2E02 #022E1C #06022E #2E0214
square
#2A2E02 #022E1C #06022E #2E0214
split-complementary
#2A2E02 #02142E #1C022E
monochromatic
#1B1D01 #1B1D01 #2A2E02 #606905 #95A307

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2E02#FFFFFF#000000##FFFFFF
##2A2E021.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)
#322C05
Tritanopia (blue-blind)
#2E2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2e02;
/* rgb */ color: rgb(42, 46, 2);
/* oklch */ color: oklch(28.8% 0.063 114.9);
Tailwind
colors: {
  custom: {
    50: '#656648',
    500: '#2a2e02',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e02;
$custom-light: #656648;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e02",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 65.455,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28756,
    "c": 0.06284,
    "h": 114.9
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#2A2E02
secondary
#211973
accent
#29FF3C
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A2E02

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

Preview Lab → · Contrast checker → · Palette generator →

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