#2A2F13#2A2F13

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

Color values

HEX#2A2F13
RGBrgb(42, 47, 19)
HSLhsl(71, 42%, 13%)
HSVhsv(71, 60%, 18%)
CMYKcmyk(10.6%, 0%, 59.6%, 81.6%)
CIE-LABlab(18.24, -7.54, 17.12)
CIE-LCHlch(18.24, 18.71, 113.77°)
OKLaboklab(29.26% -0.0214 0.0407)
OKLCHoklch(29.26% 0.046 117.7)
XYZxyz(2.0889, 2.5723, 1.0024)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F13 #18132F
analogous
#2F2613 #2A2F13 #1C2F13
triadic
#2A2F13 #132A2F #2F132A
tetradic
#2A2F13 #132F26 #18132F #2F131C
square
#2A2F13 #132F26 #18132F #2F131C
split-complementary
#2A2F13 #131C2F #26132F
monochromatic
#131609 #131609 #2A2F13 #515B25 #788636

Accessibility & contrast

On white

13.87
#2A2F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2F13
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F13#FFFFFF#000000##FFFFFF
##2A2F131.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C11
Deuteranopia (green-blind)
#322D15
Tritanopia (blue-blind)
#2D2C29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2f13;
/* rgb */ color: rgb(42, 47, 19);
/* oklch */ color: oklch(29.3% 0.046 117.7);
Tailwind
colors: {
  custom: {
    50: '#646751',
    500: '#2a2f13',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f13;
$custom-light: #646751;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f13",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 19
  },
  "hsl": {
    "h": 70.714,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29257,
    "c": 0.04598,
    "h": 117.7
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#2A2F13
secondary
#403766
accent
#56D26C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A2F13

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

Preview Lab → · Contrast checker → · Palette generator →

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