#2A2F16#2A2F16

#2A2F16 is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.3% C 0.042 H 118.3°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#2A2F16
RGBrgb(42, 47, 22)
HSLhsl(72, 36%, 14%)
HSVhsv(72, 53%, 18%)
CMYKcmyk(10.6%, 0%, 53.2%, 81.6%)
CIE-LABlab(18.29, -7.14, 15.29)
CIE-LCHlch(18.29, 16.88, 115.04°)
OKLaboklab(29.31% -0.0199 0.0369)
OKLCHoklch(29.31% 0.042 118.3)
XYZxyz(2.1162, 2.5832, 1.1460)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F16 #1B162F
analogous
#2F2716 #2A2F16 #1D2F16
triadic
#2A2F16 #162A2F #2F162A
tetradic
#2A2F16 #162F27 #1B162F #2F161D
square
#2A2F16 #162F27 #1B162F #2F161D
split-complementary
#2A2F16 #161D2F #27162F
monochromatic
#13150A #13150A #2A2F16 #4F592A #75823D

Accessibility & contrast

On white

13.85
#2A2F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2A2F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2F16
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F16#FFFFFF#000000##FFFFFF
##2A2F161.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D14
Deuteranopia (green-blind)
#312D17
Tritanopia (blue-blind)
#2C2D29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2f16;
/* rgb */ color: rgb(42, 47, 22);
/* oklch */ color: oklch(29.3% 0.042 118.3);
Tailwind
colors: {
  custom: {
    50: '#646753',
    500: '#2a2f16',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f16;
$custom-light: #646753;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f16",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 22
  },
  "hsl": {
    "h": 72,
    "s": 36.232,
    "l": 13.529
  },
  "oklch": {
    "l": 0.29311,
    "c": 0.04196,
    "h": 118.3
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#2A2F16
secondary
#443C65
accent
#5CCC72
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A2F16

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

Preview Lab → · Contrast checker → · Palette generator →

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