#2A2F0A#2A2F0A

#2A2F0A is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.056 H 116.6°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#2A2F0A
RGBrgb(42, 47, 10)
HSLhsl(68, 65%, 11%)
HSVhsv(68, 79%, 18%)
CMYKcmyk(10.6%, 0%, 78.7%, 81.6%)
CIE-LABlab(18.13, -8.48, 21.65)
CIE-LCHlch(18.13, 23.25, 111.38°)
OKLaboklab(29.13% -0.0251 0.0502)
OKLCHoklch(29.13% 0.056 116.6)
XYZxyz(2.0262, 2.5472, 0.6720)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F0A #0F0A2F
analogous
#2F210A #2A2F0A #172F0A
triadic
#2A2F0A #0A2A2F #2F0A2A
tetradic
#2A2F0A #0A2F21 #0F0A2F #2F0A17
square
#2A2F0A #0A2F21 #0F0A2F #2F0A17
split-complementary
#2A2F0A #0A172F #210A2F
monochromatic
#171905 #171905 #2A2F0A #576115 #84941F

Accessibility & contrast

On white

13.91
#2A2F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2A2F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2F0A
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F0A#FFFFFF#000000##FFFFFF
##2A2F0A1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C06
Deuteranopia (green-blind)
#322D0D
Tritanopia (blue-blind)
#2D2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2f0a;
/* rgb */ color: rgb(42, 47, 10);
/* oklch */ color: oklch(29.1% 0.056 116.6);
Tailwind
colors: {
  custom: {
    50: '#65674c',
    500: '#2a2f0a',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f0a;
$custom-light: #65674c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f0a",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 68.108,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29132,
    "c": 0.05615,
    "h": 116.6
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#2A2F0A
secondary
#32296C
accent
#40E857
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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