#2A2902#2A2902

#2A2902 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.057 H 108.1°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2A2902
RGBrgb(42, 41, 2)
HSLhsl(59, 91%, 9%)
HSVhsv(59, 95%, 16%)
CMYKcmyk(0%, 2.4%, 95.2%, 83.5%)
CIE-LABlab(15.91, -5.31, 22.19)
CIE-LCHlch(15.91, 22.82, 103.47°)
OKLaboklab(27.33% -0.0176 0.0538)
OKLCHoklch(27.33% 0.057 108.1)
XYZxyz(1.7588, 2.0826, 0.3667)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2902 #02032A
analogous
#2A1502 #2A2902 #172A02
triadic
#2A2902 #022A29 #29022A
tetradic
#2A2902 #022A15 #02032A #2A0217
square
#2A2902 #022A15 #02032A #2A0217
split-complementary
#2A2902 #02172A #15022A
monochromatic
#1D1D01 #1D1D01 #2A2902 #646205 #9F9B08

Accessibility & contrast

On white

14.83
#2A2902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2A2902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2902
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2902#FFFFFF#000000##FFFFFF
##2A29021.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2902;
/* rgb */ color: rgb(42, 41, 2);
/* oklch */ color: oklch(27.3% 0.057 108.1);
Tailwind
colors: {
  custom: {
    50: '#656247',
    500: '#2a2902',
    950: '#000000',
  },
}
SCSS
$custom: #2a2902;
$custom-light: #656247;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2902",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 58.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27331,
    "c": 0.05656,
    "h": 108.1
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#2A2902
secondary
#191B6F
accent
#2EFF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2A2902

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

Preview Lab → · Contrast checker → · Palette generator →

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