#2D2F28#2D2F28

#2D2F28 is a dark, near-neutral yellow-green. Relative luminance 0.027; OKLCH L 30.1% C 0.013 H 120.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#2D2F28
RGBrgb(45, 47, 40)
HSLhsl(77, 8%, 17%)
HSVhsv(77, 15%, 18%)
CMYKcmyk(4.3%, 0%, 14.9%, 81.6%)
CIE-LABlab(18.99, -2.48, 4.20)
CIE-LCHlch(18.99, 4.88, 120.53°)
OKLaboklab(30.07% -0.0063 0.0109)
OKLCHoklch(30.07% 0.013 120.1)
XYZxyz(2.4817, 2.7441, 2.4060)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F28 #2A282F
analogous
#2F2E28 #2D2F28 #2A2F28
triadic
#2D2F28 #282D2F #2F282D
tetradic
#2D2F28 #282F2E #2A282F #2F282A
square
#2D2F28 #282F2E #2A282F #2F282A
split-complementary
#2D2F28 #282A2F #2E282F
monochromatic
#10110E #10110E #2D2F28 #4D5044 #6C7160

Accessibility & contrast

On white

13.56
#2D2F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D2F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F28
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F28#FFFFFF#000000##FFFFFF
##2D2F281.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302E28
Deuteranopia (green-blind)
#302E28
Tritanopia (blue-blind)
#2E2E2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2f28;
/* rgb */ color: rgb(45, 47, 40);
/* oklch */ color: oklch(30.1% 0.013 120.1);
Tailwind
colors: {
  custom: {
    50: '#656761',
    500: '#2d2f28',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f28;
$custom-light: #656761;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f28",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 77.143,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.30073,
    "c": 0.0126,
    "h": 120.1
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#2D2F28
secondary
#57545E
accent
#77B187
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2D2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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