#2A2D07#2A2D07

#2A2D07 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.056 H 113.8°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#2A2D07
RGBrgb(42, 45, 7)
HSLhsl(65, 73%, 10%)
HSVhsv(65, 84%, 18%)
CMYKcmyk(6.7%, 0%, 84.4%, 82.4%)
CIE-LABlab(17.39, -7.47, 21.98)
CIE-LCHlch(17.39, 23.21, 108.76°)
OKLaboklab(28.53% -0.0227 0.0514)
OKLCHoklch(28.53% 0.056 113.8)
XYZxyz(1.9316, 2.3844, 0.5594)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D07 #0A072D
analogous
#2D1D07 #2A2D07 #172D07
triadic
#2A2D07 #072A2D #2D072A
tetradic
#2A2D07 #072D1D #0A072D #2D0717
square
#2A2D07 #072D1D #0A072D #2D0717
split-complementary
#2A2D07 #07172D #1D072D
monochromatic
#191A04 #191A04 #2A2D07 #5B620F #8D9717

Accessibility & contrast

On white

14.22
#2A2D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A2D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D07
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D07#FFFFFF#000000##FFFFFF
##2A2D071.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#2D2A25
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d07;
/* rgb */ color: rgb(42, 45, 7);
/* oklch */ color: oklch(28.5% 0.056 113.8);
Tailwind
colors: {
  custom: {
    50: '#65654a',
    500: '#2a2d07',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d07;
$custom-light: #65654a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d07",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 7
  },
  "hsl": {
    "h": 64.737,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28526,
    "c": 0.05622,
    "h": 113.8
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#2A2D07
secondary
#29236D
accent
#38F047
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2A2D07

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

Preview Lab → · Contrast checker → · Palette generator →

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