#303202#303202

#303202 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.066 H 112.2°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#303202
RGBrgb(48, 50, 2)
HSLhsl(63, 92%, 10%)
HSVhsv(63, 96%, 20%)
CMYKcmyk(4%, 0%, 96%, 80.4%)
CIE-LABlab(19.70, -7.78, 26.88)
CIE-LCHlch(19.70, 27.98, 106.14°)
OKLaboklab(30.51% -0.0248 0.0608)
OKLCHoklch(30.51% 0.066 112.2)
XYZxyz(2.3706, 2.9140, 0.4950)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303202 #040232
analogous
#321C02 #303202 #183202
triadic
#303202 #023032 #320230
tetradic
#303202 #02321C #040232 #320218
square
#303202 #02321C #040232 #320218
split-complementary
#303202 #021832 #1C0232
monochromatic
#1C1D01 #1C1D01 #303202 #686D04 #A1A807

Accessibility & contrast

On white

13.27
#303202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#303202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303202
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303202#FFFFFF#000000##FFFFFF
##3032021.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#373005
Tritanopia (blue-blind)
#342E29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #303202;
/* rgb */ color: rgb(48, 50, 2);
/* oklch */ color: oklch(30.5% 0.066 112.2);
Tailwind
colors: {
  custom: {
    50: '#6a6948',
    500: '#303202',
    950: '#000000',
  },
}
SCSS
$custom: #303202;
$custom-light: #6a6948;
$custom-dark: #000000;
JSON
{
  "hex": "#303202",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 2
  },
  "hsl": {
    "h": 62.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30507,
    "c": 0.06562,
    "h": 112.2
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#303202
secondary
#1D1976
accent
#29FF32
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070600
muted
#7A7A77

Preview Lab

Preview with #303202

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

Preview Lab → · Contrast checker → · Palette generator →

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