#302E26#302E26

#302E26 is a dark, near-neutral yellow. Relative luminance 0.027; OKLCH L 30.1% C 0.014 H 95.5°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#302E26
RGBrgb(48, 46, 38)
HSLhsl(48, 12%, 17%)
HSVhsv(48, 21%, 19%)
CMYKcmyk(0%, 4.2%, 20.8%, 81.2%)
CIE-LABlab(18.90, -0.81, 5.49)
CIE-LCHlch(18.90, 5.55, 98.41°)
OKLaboklab(30.06% -0.0014 0.0142)
OKLCHoklch(30.06% 0.014 95.5)
XYZxyz(2.5458, 2.7223, 2.2247)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E26 #262830
analogous
#302926 #302E26 #2D3026
triadic
#302E26 #26302E #2E2630
tetradic
#302E26 #263029 #262830 #30262D
square
#302E26 #263029 #262830 #30262D
split-complementary
#302E26 #262D30 #292630
monochromatic
#11100E #11100E #302E26 #524F41 #746F5C

Accessibility & contrast

On white

13.60
#302E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#302E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E26
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E26#FFFFFF#000000##FFFFFF
##302E261.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302E26
Deuteranopia (green-blind)
#302E26
Tritanopia (blue-blind)
#322D2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302e26;
/* rgb */ color: rgb(48, 46, 38);
/* oklch */ color: oklch(30.1% 0.014 95.5);
Tailwind
colors: {
  custom: {
    50: '#686660',
    500: '#302e26',
    950: '#000000',
  },
}
SCSS
$custom: #302e26;
$custom-light: #686660;
$custom-dark: #000000;
JSON
{
  "hex": "#302e26",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 48,
    "s": 11.628,
    "l": 16.863
  },
  "oklch": {
    "l": 0.30055,
    "c": 0.01423,
    "h": 95.5
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#302E26
secondary
#525560
accent
#80B573
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #302E26

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

Preview Lab → · Contrast checker → · Palette generator →

#302E26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva