#2E2E23#2E2E23

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

Color values

HEX#2E2E23
RGBrgb(46, 46, 35)
HSLhsl(60, 14%, 16%)
HSVhsv(60, 24%, 18%)
CMYKcmyk(0%, 0%, 23.9%, 82%)
CIE-LABlab(18.61, -2.35, 7.12)
CIE-LCHlch(18.61, 7.50, 108.28°)
OKLaboklab(29.75% -0.0057 0.0182)
OKLCHoklch(29.75% 0.019 107.5)
XYZxyz(2.4071, 2.6562, 1.9757)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E23 #23232E
analogous
#2E2823 #2E2E23 #282E23
triadic
#2E2E23 #232E2E #2E232E
tetradic
#2E2E23 #232E28 #23232E #2E2328
square
#2E2E23 #232E28 #23232E #2E2328
split-complementary
#2E2E23 #23282E #28232E
monochromatic
#11110D #11110D #2E2E23 #51513D #747458

Accessibility & contrast

On white

13.71
#2E2E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E23
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E23#FFFFFF#000000##FFFFFF
##2E2E231.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D22
Deuteranopia (green-blind)
#302E23
Tritanopia (blue-blind)
#302D2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2e23;
/* rgb */ color: rgb(46, 46, 35);
/* oklch */ color: oklch(29.8% 0.019 107.5);
Tailwind
colors: {
  custom: {
    50: '#66665d',
    500: '#2e2e23',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e23;
$custom-light: #66665d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e23",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 13.58,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29753,
    "c": 0.01906,
    "h": 107.5
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#2E2E23
secondary
#4E4E5F
accent
#71B671
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #2E2E23

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

Preview Lab → · Contrast checker → · Palette generator →

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