#2A2E06#2A2E06

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

Color values

HEX#2A2E06
RGBrgb(42, 46, 6)
HSLhsl(66, 77%, 10%)
HSVhsv(66, 87%, 18%)
CMYKcmyk(8.7%, 0%, 87%, 82%)
CIE-LABlab(17.73, -8.18, 22.80)
CIE-LCHlch(17.73, 24.23, 109.74°)
OKLaboklab(28.8% -0.0249 0.0531)
OKLCHoklch(28.8% 0.059 115.1)
XYZxyz(1.9648, 2.4594, 0.5435)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E06 #0A062E
analogous
#2E1E06 #2A2E06 #162E06
triadic
#2A2E06 #062A2E #2E062A
tetradic
#2A2E06 #062E1E #0A062E #2E0616
square
#2A2E06 #062E1E #0A062E #2E0616
split-complementary
#2A2E06 #06162E #1E062E
monochromatic
#191B04 #191B04 #2A2E06 #5B640D #8D9A14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2E06#FFFFFF#000000##FFFFFF
##2A2E061.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)
#322B02
Deuteranopia (green-blind)
#322C09
Tritanopia (blue-blind)
#2D2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2e06;
/* rgb */ color: rgb(42, 46, 6);
/* oklch */ color: oklch(28.8% 0.059 115.1);
Tailwind
colors: {
  custom: {
    50: '#65664a',
    500: '#2a2e06',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e06;
$custom-light: #65664a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e06",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 66,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28801,
    "c": 0.05864,
    "h": 115.1
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#2A2E06
secondary
#29216F
accent
#34F347
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2E06

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

Preview Lab → · Contrast checker → · Palette generator →

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