#302E27#302E27

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

Color values

HEX#302E27
RGBrgb(48, 46, 39)
HSLhsl(47, 10%, 17%)
HSVhsv(47, 19%, 19%)
CMYKcmyk(0%, 4.2%, 18.7%, 81.2%)
CIE-LABlab(18.92, -0.61, 4.84)
CIE-LCHlch(18.92, 4.88, 97.24°)
OKLaboklab(30.09% -0.0008 0.0125)
OKLCHoklch(30.09% 0.013 93.8)
XYZxyz(2.5621, 2.7289, 2.3108)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E27 #272930
analogous
#302A27 #302E27 #2E3027
triadic
#302E27 #27302E #2E2730
tetradic
#302E27 #27302A #272930 #30272E
square
#302E27 #27302A #272930 #30272E
split-complementary
#302E27 #272E30 #2A2730
monochromatic
#11100E #11100E #302E27 #524E42 #746F5E

Accessibility & contrast

On white

13.59
#302E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#302E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E27
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E27#FFFFFF#000000##FFFFFF
##302E271.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302e27;
/* rgb */ color: rgb(48, 46, 39);
/* oklch */ color: oklch(30.1% 0.013 93.8);
Tailwind
colors: {
  custom: {
    50: '#686661',
    500: '#302e27',
    950: '#000000',
  },
}
SCSS
$custom: #302e27;
$custom-light: #686661;
$custom-dark: #000000;
JSON
{
  "hex": "#302e27",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 46.667,
    "s": 10.345,
    "l": 17.059
  },
  "oklch": {
    "l": 0.30086,
    "c": 0.01256,
    "h": 93.8
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#302E27
secondary
#535660
accent
#82B375
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #302E27

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

Preview Lab → · Contrast checker → · Palette generator →

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