#302E03#302E03

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

Color values

HEX#302E03
RGBrgb(48, 46, 3)
HSLhsl(57, 88%, 10%)
HSVhsv(57, 94%, 19%)
CMYKcmyk(0%, 4.2%, 93.8%, 81.2%)
CIE-LABlab(18.32, -5.15, 24.87)
CIE-LCHlch(18.32, 25.40, 101.70°)
OKLaboklab(29.41% -0.0173 0.0573)
OKLCHoklch(29.41% 0.06 106.8)
XYZxyz(2.2125, 2.5890, 0.4693)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E03 #030530
analogous
#301703 #302E03 #1C3003
triadic
#302E03 #03302E #2E0330
tetradic
#302E03 #033017 #030530 #30031C
square
#302E03 #033017 #030530 #30031C
split-complementary
#302E03 #031C30 #170330
monochromatic
#1D1C02 #1D1C02 #302E03 #6A6507 #A39C0A

Accessibility & contrast

On white

13.84
#302E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302E03
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E03#FFFFFF#000000##FFFFFF
##302E031.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302e03;
/* rgb */ color: rgb(48, 46, 3);
/* oklch */ color: oklch(29.4% 0.060 106.8);
Tailwind
colors: {
  custom: {
    50: '#6a6648',
    500: '#302e03',
    950: '#000000',
  },
}
SCSS
$custom: #302e03;
$custom-light: #6a6648;
$custom-dark: #000000;
JSON
{
  "hex": "#302e03",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 3
  },
  "hsl": {
    "h": 57.333,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.29407,
    "c": 0.05989,
    "h": 106.8
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#302E03
secondary
#1B1F73
accent
#33FE29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070500
muted
#7A7A77

Preview Lab

Preview with #302E03

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

Preview Lab → · Contrast checker → · Palette generator →

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