#2A2D05#2A2D05

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

Color values

HEX#2A2D05
RGBrgb(42, 45, 5)
HSLhsl(65, 80%, 10%)
HSVhsv(65, 89%, 18%)
CMYKcmyk(6.7%, 0%, 88.9%, 82.4%)
CIE-LABlab(17.37, -7.63, 22.77)
CIE-LCHlch(17.37, 24.01, 108.54°)
OKLaboklab(28.5% -0.0235 0.0534)
OKLCHoklch(28.5% 0.058 113.8)
XYZxyz(1.9207, 2.3800, 0.5018)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D05 #08052D
analogous
#2D1C05 #2A2D05 #162D05
triadic
#2A2D05 #052A2D #2D052A
tetradic
#2A2D05 #052D1C #08052D #2D0516
square
#2A2D05 #052D1C #08052D #2D0516
split-complementary
#2A2D05 #05162D #1C052D
monochromatic
#1A1C03 #1A1C03 #2A2D05 #5D640B #919B11

Accessibility & contrast

On white

14.23
#2A2D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D05
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D05#FFFFFF#000000##FFFFFF
##2A2D051.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A01
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#2E2A25
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d05;
/* rgb */ color: rgb(42, 45, 5);
/* oklch */ color: oklch(28.5% 0.058 113.8);
Tailwind
colors: {
  custom: {
    50: '#656549',
    500: '#2a2d05',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d05;
$custom-light: #656549;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d05",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 5
  },
  "hsl": {
    "h": 64.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28503,
    "c": 0.0583,
    "h": 113.8
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#2A2D05
secondary
#251F6F
accent
#31F640
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2A2D05

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

Preview Lab → · Contrast checker → · Palette generator →

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