#302802#302802

#302802 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.8% C 0.055 H 96.9°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#302802
RGBrgb(48, 40, 2)
HSLhsl(50, 92%, 10%)
HSVhsv(50, 96%, 19%)
CMYKcmyk(0%, 16.7%, 95.8%, 81.2%)
CIE-LABlab(16.26, -1.26, 22.77)
CIE-LCHlch(16.26, 22.81, 93.17°)
OKLaboklab(27.77% -0.0066 0.0546)
OKLCHoklch(27.77% 0.055 96.9)
XYZxyz(1.9888, 2.1505, 0.3677)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302802 #020A30
analogous
#301102 #302802 #213002
triadic
#302802 #023028 #280230
tetradic
#302802 #023011 #020A30 #300221
square
#302802 #023011 #020A30 #300221
split-complementary
#302802 #022130 #110230
monochromatic
#1D1801 #1D1801 #302802 #6B5904 #A68A07

Accessibility & contrast

On white

14.69
#302802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302802
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302802#FFFFFF#000000##FFFFFF
##3028021.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302802;
/* rgb */ color: rgb(48, 40, 2);
/* oklch */ color: oklch(27.8% 0.055 96.9);
Tailwind
colors: {
  custom: {
    50: '#6a6147',
    500: '#302802',
    950: '#000000',
  },
}
SCSS
$custom: #302802;
$custom-light: #6a6147;
$custom-dark: #000000;
JSON
{
  "hex": "#302802",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 49.565,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27767,
    "c": 0.05498,
    "h": 96.9
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#302802
secondary
#192975
accent
#4EFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #302802

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

Preview Lab → · Contrast checker → · Palette generator →

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