#302803#302803

#302803 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.054 H 96.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#302803
RGBrgb(48, 40, 3)
HSLhsl(49, 88%, 10%)
HSVhsv(49, 94%, 19%)
CMYKcmyk(0%, 16.7%, 93.8%, 81.2%)
CIE-LABlab(16.27, -1.18, 22.38)
CIE-LCHlch(16.27, 22.41, 93.02°)
OKLaboklab(27.78% -0.0062 0.0535)
OKLCHoklch(27.78% 0.054 96.6)
XYZxyz(1.9943, 2.1526, 0.3966)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302803 #030B30
analogous
#301103 #302803 #223003
triadic
#302803 #033028 #280330
tetradic
#302803 #033011 #030B30 #300322
square
#302803 #033011 #030B30 #300322
split-complementary
#302803 #032230 #110330
monochromatic
#1D1802 #1D1802 #302803 #6A5807 #A3880A

Accessibility & contrast

On white

14.68
#302803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#302803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302803
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302803#FFFFFF#000000##FFFFFF
##3028031.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#352421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #302803;
/* rgb */ color: rgb(48, 40, 3);
/* oklch */ color: oklch(27.8% 0.054 96.6);
Tailwind
colors: {
  custom: {
    50: '#6a6148',
    500: '#302803',
    950: '#000000',
  },
}
SCSS
$custom: #302803;
$custom-light: #6a6148;
$custom-dark: #000000;
JSON
{
  "hex": "#302803",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 49.333,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.2778,
    "c": 0.05387,
    "h": 96.6
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#302803
secondary
#1B2B73
accent
#4FFE29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #302803

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

Preview Lab → · Contrast checker → · Palette generator →

#302803 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva