#2A2F10#2A2F10

#2A2F10 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.2% C 0.050 H 117.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#2A2F10
RGBrgb(42, 47, 16)
HSLhsl(70, 49%, 12%)
HSVhsv(70, 66%, 18%)
CMYKcmyk(10.6%, 0%, 66%, 81.6%)
CIE-LABlab(18.20, -7.90, 18.85)
CIE-LCHlch(18.20, 20.44, 112.73°)
OKLaboklab(29.21% -0.0227 0.0442)
OKLCHoklch(29.21% 0.05 117.2)
XYZxyz(2.0649, 2.5627, 0.8760)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F10 #15102F
analogous
#2F2410 #2A2F10 #1B2F10
triadic
#2A2F10 #102A2F #2F102A
tetradic
#2A2F10 #102F24 #15102F #2F101B
square
#2A2F10 #102F24 #15102F #2F101B
split-complementary
#2A2F10 #101B2F #24102F
monochromatic
#141708 #141708 #2A2F10 #535D20 #7C8A2F

Accessibility & contrast

On white

13.88
#2A2F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2F10
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F10#FFFFFF#000000##FFFFFF
##2A2F101.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0D
Deuteranopia (green-blind)
#322D12
Tritanopia (blue-blind)
#2D2C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2f10;
/* rgb */ color: rgb(42, 47, 16);
/* oklch */ color: oklch(29.2% 0.050 117.2);
Tailwind
colors: {
  custom: {
    50: '#64674f',
    500: '#2a2f10',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f10;
$custom-light: #64674f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f10",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 16
  },
  "hsl": {
    "h": 69.677,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29209,
    "c": 0.04971,
    "h": 117.2
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#2A2F10
secondary
#3B3368
accent
#4FD965
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A2F10

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

Preview Lab → · Contrast checker → · Palette generator →

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