#2A290E#2A290E

#2A290E is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.043 H 107.0°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2A290E
RGBrgb(42, 41, 14)
HSLhsl(58, 50%, 11%)
HSVhsv(58, 67%, 16%)
CMYKcmyk(0%, 2.4%, 66.7%, 83.5%)
CIE-LABlab(16.05, -4.22, 17.29)
CIE-LCHlch(16.05, 17.80, 103.72°)
OKLaboklab(27.49% -0.0126 0.0412)
OKLCHoklch(27.49% 0.043 107)
XYZxyz(1.8271, 2.1099, 0.7264)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A290E #0E0F2A
analogous
#2A1B0E #2A290E #1D2A0E
triadic
#2A290E #0E2A29 #290E2A
tetradic
#2A290E #0E2A1B #0E0F2A #2A0E1D
square
#2A290E #0E2A1B #0E0F2A #2A0E1D
split-complementary
#2A290E #0E1D2A #1B0E2A
monochromatic
#171608 #171608 #2A290E #58561D #86832D

Accessibility & contrast

On white

14.77
#2A290E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A290E
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A290E#FFFFFF#000000##FFFFFF
##2A290E1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270B
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#2D2623
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a290e;
/* rgb */ color: rgb(42, 41, 14);
/* oklch */ color: oklch(27.5% 0.043 107.0);
Tailwind
colors: {
  custom: {
    50: '#64624d',
    500: '#2a290e',
    950: '#000000',
  },
}
SCSS
$custom: #2a290e;
$custom-light: #64624d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a290e",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 14
  },
  "hsl": {
    "h": 57.857,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27486,
    "c": 0.04307,
    "h": 107
  },
  "luminance": 0.0211
}

Semantic roles & 50–950 ramp

primary
#2A290E
secondary
#303264
accent
#53DA4E
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A290E

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

Preview Lab → · Contrast checker → · Palette generator →

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