#302A0F#302A0F

#302A0F is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.043 H 97.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#302A0F
RGBrgb(48, 42, 15)
HSLhsl(49, 52%, 12%)
HSVhsv(49, 69%, 19%)
CMYKcmyk(0%, 12.5%, 68.7%, 81.2%)
CIE-LABlab(17.08, -1.54, 18.19)
CIE-LCHlch(17.08, 18.25, 94.85°)
OKLaboklab(28.46% -0.0052 0.0428)
OKLCHoklch(28.46% 0.043 97)
XYZxyz(2.1332, 2.3189, 0.7871)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A0F #0F1530
analogous
#301A0F #302A0F #26300F
triadic
#302A0F #0F302A #2A0F30
tetradic
#302A0F #0F301A #0F1530 #300F26
square
#302A0F #0F301A #0F1530 #300F26
split-complementary
#302A0F #0F2630 #1A0F30
monochromatic
#171407 #171407 #302A0F #5F531E #8D7C2C

Accessibility & contrast

On white

14.35
#302A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#302A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A0F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A0F#FFFFFF#000000##FFFFFF
##302A0F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290C
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#342724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302a0f;
/* rgb */ color: rgb(48, 42, 15);
/* oklch */ color: oklch(28.5% 0.043 97.0);
Tailwind
colors: {
  custom: {
    50: '#69634e',
    500: '#302a0f',
    950: '#000000',
  },
}
SCSS
$custom: #302a0f;
$custom-light: #69634e;
$custom-dark: #000000;
JSON
{
  "hex": "#302a0f",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 49.091,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28464,
    "c": 0.04312,
    "h": 97
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#302A0F
secondary
#313B6A
accent
#66DC4C
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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