#303602#303602

#303602 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.6% C 0.071 H 116.5°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#303602
RGBrgb(48, 54, 2)
HSLhsl(67, 93%, 11%)
HSVhsv(67, 96%, 21%)
CMYKcmyk(11.1%, 0%, 96.3%, 78.8%)
CIE-LABlab(21.10, -10.24, 28.45)
CIE-LCHlch(21.10, 30.23, 109.80°)
OKLaboklab(31.63% -0.0315 0.0633)
OKLCHoklch(31.63% 0.071 116.5)
XYZxyz(2.5491, 3.2711, 0.5545)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303602 #080236
analogous
#362202 #303602 #163602
triadic
#303602 #023036 #360230
tetradic
#303602 #023622 #080236 #360216
square
#303602 #023622 #080236 #360216
split-complementary
#303602 #021636 #220236
monochromatic
#1A1E01 #1A1E01 #303602 #647104 #99AC06

Accessibility & contrast

On white

12.69
#303602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#303602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303602
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303602#FFFFFF#000000##FFFFFF
##3036021.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3200
Deuteranopia (green-blind)
#3A3306
Tritanopia (blue-blind)
#34322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #303602;
/* rgb */ color: rgb(48, 54, 2);
/* oklch */ color: oklch(31.6% 0.071 116.5);
Tailwind
colors: {
  custom: {
    50: '#6a6c48',
    500: '#303602',
    950: '#000000',
  },
}
SCSS
$custom: #303602;
$custom-light: #6a6c48;
$custom-dark: #000000;
JSON
{
  "hex": "#303602",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 2
  },
  "hsl": {
    "h": 66.923,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.31633,
    "c": 0.0707,
    "h": 116.5
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#303602
secondary
#251A7A
accent
#29FF42
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303602

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

Preview Lab → · Contrast checker → · Palette generator →

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