#2E2E25#2E2E25

#2E2E25 is a dark, near-neutral yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.016 H 107.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#2E2E25
RGBrgb(46, 46, 37)
HSLhsl(60, 11%, 16%)
HSVhsv(60, 20%, 18%)
CMYKcmyk(0%, 0%, 19.6%, 82%)
CIE-LABlab(18.66, -1.96, 5.82)
CIE-LCHlch(18.66, 6.14, 108.63°)
OKLaboklab(29.81% -0.0047 0.015)
OKLCHoklch(29.81% 0.016 107.3)
XYZxyz(2.4376, 2.6684, 2.1365)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E25 #25252E
analogous
#2E2A25 #2E2E25 #2A2E25
triadic
#2E2E25 #252E2E #2E252E
tetradic
#2E2E25 #252E2A #25252E #2E252A
square
#2E2E25 #252E2A #25252E #2E252A
split-complementary
#2E2E25 #252A2E #2A252E
monochromatic
#11110E #11110E #2E2E25 #505040 #72725C

Accessibility & contrast

On white

13.69
#2E2E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2E2E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E25
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E25#FFFFFF#000000##FFFFFF
##2E2E251.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D24
Deuteranopia (green-blind)
#302E25
Tritanopia (blue-blind)
#2F2D2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2e25;
/* rgb */ color: rgb(46, 46, 37);
/* oklch */ color: oklch(29.8% 0.016 107.3);
Tailwind
colors: {
  custom: {
    50: '#66665f',
    500: '#2e2e25',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e25;
$custom-light: #66665f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e25",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 10.843,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29813,
    "c": 0.01569,
    "h": 107.3
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#2E2E25
secondary
#51515E
accent
#74B474
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #2E2E25

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

Preview Lab → · Contrast checker → · Palette generator →

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