#2A2A08#2A2A08

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

Color values

HEX#2A2A08
RGBrgb(42, 42, 8)
HSLhsl(60, 68%, 10%)
HSVhsv(60, 81%, 16%)
CMYKcmyk(0%, 0%, 81%, 83.5%)
CIE-LABlab(16.33, -5.44, 20.27)
CIE-LCHlch(16.33, 20.99, 105.02°)
OKLaboklab(27.69% -0.0169 0.0482)
OKLCHoklch(27.69% 0.051 109.3)
XYZxyz(1.8267, 2.1658, 0.5515)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A08 #08082A
analogous
#2A1908 #2A2A08 #192A08
triadic
#2A2A08 #082A2A #2A082A
tetradic
#2A2A08 #082A19 #08082A #2A0819
square
#2A2A08 #082A19 #08082A #2A0819
split-complementary
#2A2A08 #08192A #19082A
monochromatic
#1A1A05 #1A1A05 #2A2A08 #5D5D12 #91911C

Accessibility & contrast

On white

14.65
#2A2A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2A08
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A08#FFFFFF#000000##FFFFFF
##2A2A081.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2a08;
/* rgb */ color: rgb(42, 42, 8);
/* oklch */ color: oklch(27.7% 0.051 109.3);
Tailwind
colors: {
  custom: {
    50: '#65634a',
    500: '#2a2a08',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a08;
$custom-light: #65634a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a08",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 60,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27687,
    "c": 0.05106,
    "h": 109.3
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#2A2A08
secondary
#252569
accent
#3DEB3D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2A08

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

Preview Lab → · Contrast checker → · Palette generator →

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