#302E0B#302E0B

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

Color values

HEX#302E0B
RGBrgb(48, 46, 11)
HSLhsl(57, 63%, 12%)
HSVhsv(57, 77%, 19%)
CMYKcmyk(0%, 4.2%, 77.1%, 81.2%)
CIE-LABlab(18.39, -4.55, 21.69)
CIE-LCHlch(18.39, 22.16, 101.84°)
OKLaboklab(29.49% -0.0144 0.0501)
OKLCHoklch(29.49% 0.052 106)
XYZxyz(2.2564, 2.6066, 0.7008)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E0B #0B0D30
analogous
#301C0B #302E0B #20300B
triadic
#302E0B #0B302E #2E0B30
tetradic
#302E0B #0B301C #0B0D30 #300B20
square
#302E0B #0B301C #0B0D30 #300B20
split-complementary
#302E0B #0B2030 #1C0B30
monochromatic
#191806 #191806 #302E0B #625E16 #948D22

Accessibility & contrast

On white

13.80
#302E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302E0B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E0B#FFFFFF#000000##FFFFFF
##302E0B1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302e0b;
/* rgb */ color: rgb(48, 46, 11);
/* oklch */ color: oklch(29.5% 0.052 106.0);
Tailwind
colors: {
  custom: {
    50: '#6a664c',
    500: '#302e0b',
    950: '#000000',
  },
}
SCSS
$custom: #302e0b;
$custom-light: #6a664c;
$custom-dark: #000000;
JSON
{
  "hex": "#302e0b",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 11
  },
  "hsl": {
    "h": 56.757,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29493,
    "c": 0.0521,
    "h": 106
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#302E0B
secondary
#2A2E6D
accent
#4BE642
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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