#2A2A07#2A2A07

#2A2A07 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.052 H 109.4°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#2A2A07
RGBrgb(42, 42, 7)
HSLhsl(60, 71%, 10%)
HSVhsv(60, 83%, 16%)
CMYKcmyk(0%, 0%, 83.3%, 83.5%)
CIE-LABlab(16.32, -5.53, 20.67)
CIE-LCHlch(16.32, 21.40, 104.98°)
OKLaboklab(27.68% -0.0173 0.0492)
OKLCHoklch(27.68% 0.052 109.4)
XYZxyz(1.8212, 2.1636, 0.5226)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A07 #07072A
analogous
#2A1907 #2A2A07 #192A07
triadic
#2A2A07 #072A2A #2A072A
tetradic
#2A2A07 #072A19 #07072A #2A0719
square
#2A2A07 #072A19 #07072A #2A0719
split-complementary
#2A2A07 #07192A #19072A
monochromatic
#1A1A04 #1A1A04 #2A2A07 #5E5E10 #939318

Accessibility & contrast

On white

14.66
#2A2A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2A2A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A07
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A07#FFFFFF#000000##FFFFFF
##2A2A071.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2F2909
Tritanopia (blue-blind)
#2E2723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2a07;
/* rgb */ color: rgb(42, 42, 7);
/* oklch */ color: oklch(27.7% 0.052 109.4);
Tailwind
colors: {
  custom: {
    50: '#65634a',
    500: '#2a2a07',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a07;
$custom-light: #65634a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a07",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 60,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27675,
    "c": 0.05214,
    "h": 109.4
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#2A2A07
secondary
#23236A
accent
#3AEE3A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2A2A07

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

Preview Lab → · Contrast checker → · Palette generator →

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