#302E0A#302E0A

#302E0A is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.053 H 106.1°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#302E0A
RGBrgb(48, 46, 10)
HSLhsl(57, 66%, 11%)
HSVhsv(57, 79%, 19%)
CMYKcmyk(0%, 4.2%, 79.2%, 81.2%)
CIE-LABlab(18.38, -4.63, 22.10)
CIE-LCHlch(18.38, 22.58, 101.82°)
OKLaboklab(29.48% -0.0147 0.051)
OKLCHoklch(29.48% 0.053 106.1)
XYZxyz(2.2508, 2.6044, 0.6712)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E0A #0A0C30
analogous
#301B0A #302E0A #1F300A
triadic
#302E0A #0A302E #2E0A30
tetradic
#302E0A #0A301B #0A0C30 #300A1F
square
#302E0A #0A301B #0A0C30 #300A1F
split-complementary
#302E0A #0A1F30 #1B0A30
monochromatic
#191805 #191805 #302E0A #635F15 #958F1F

Accessibility & contrast

On white

13.81
#302E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#302E0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E0A
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E0A#FFFFFF#000000##FFFFFF
##302E0A1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C06
Deuteranopia (green-blind)
#332E0C
Tritanopia (blue-blind)
#342A27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302e0a;
/* rgb */ color: rgb(48, 46, 10);
/* oklch */ color: oklch(29.5% 0.053 106.1);
Tailwind
colors: {
  custom: {
    50: '#6a664c',
    500: '#302e0a',
    950: '#000000',
  },
}
SCSS
$custom: #302e0a;
$custom-light: #6a664c;
$custom-dark: #000000;
JSON
{
  "hex": "#302e0a",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 10
  },
  "hsl": {
    "h": 56.842,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29482,
    "c": 0.05305,
    "h": 106.1
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#302E0A
secondary
#292C6D
accent
#48E83F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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