#302E04#302E04

#302E04 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.059 H 106.7°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#302E04
RGBrgb(48, 46, 4)
HSLhsl(57, 85%, 10%)
HSVhsv(57, 92%, 19%)
CMYKcmyk(0%, 4.2%, 91.7%, 81.2%)
CIE-LABlab(18.33, -5.08, 24.47)
CIE-LCHlch(18.33, 24.99, 101.72°)
OKLaboklab(29.42% -0.0169 0.0564)
OKLCHoklch(29.42% 0.059 106.7)
XYZxyz(2.2179, 2.5912, 0.4982)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E04 #040630
analogous
#301804 #302E04 #1C3004
triadic
#302E04 #04302E #2E0430
tetradic
#302E04 #043018 #040630 #30041C
square
#302E04 #043018 #040630 #30041C
split-complementary
#302E04 #041C30 #180430
monochromatic
#1C1B02 #1C1B02 #302E04 #686409 #A19A0D

Accessibility & contrast

On white

13.83
#302E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302E04
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E04#FFFFFF#000000##FFFFFF
##302E041.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#342D07
Tritanopia (blue-blind)
#342A26
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302e04;
/* rgb */ color: rgb(48, 46, 4);
/* oklch */ color: oklch(29.4% 0.059 106.7);
Tailwind
colors: {
  custom: {
    50: '#6a6649',
    500: '#302e04',
    950: '#000000',
  },
}
SCSS
$custom: #302e04;
$custom-light: #6a6649;
$custom-dark: #000000;
JSON
{
  "hex": "#302e04",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 57.273,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29418,
    "c": 0.05887,
    "h": 106.7
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#302E04
secondary
#1D2172
accent
#36FB2D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #302E04

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

Preview Lab → · Contrast checker → · Palette generator →

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