#303502#303502

#303502 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.4% C 0.069 H 115.5°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#303502
RGBrgb(48, 53, 2)
HSLhsl(66, 93%, 11%)
HSVhsv(66, 96%, 21%)
CMYKcmyk(9.4%, 0%, 96.2%, 79.2%)
CIE-LABlab(20.75, -9.63, 28.06)
CIE-LCHlch(20.75, 29.67, 108.95°)
OKLaboklab(31.35% -0.0299 0.0627)
OKLCHoklch(31.35% 0.069 115.5)
XYZxyz(2.5031, 3.1790, 0.5392)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303502 #070235
analogous
#352002 #303502 #163502
triadic
#303502 #023035 #350230
tetradic
#303502 #023520 #070235 #350216
square
#303502 #023520 #070235 #350216
split-complementary
#303502 #021635 #200235
monochromatic
#1B1D01 #1B1D01 #303502 #657004 #9BAB06

Accessibility & contrast

On white

12.84
#303502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#303502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303502
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303502#FFFFFF#000000##FFFFFF
##3035021.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#393206
Tritanopia (blue-blind)
#34312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #303502;
/* rgb */ color: rgb(48, 53, 2);
/* oklch */ color: oklch(31.4% 0.069 115.5);
Tailwind
colors: {
  custom: {
    50: '#6a6c48',
    500: '#303502',
    950: '#000000',
  },
}
SCSS
$custom: #303502;
$custom-light: #6a6c48;
$custom-dark: #000000;
JSON
{
  "hex": "#303502",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 2
  },
  "hsl": {
    "h": 65.882,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.3135,
    "c": 0.06941,
    "h": 115.5
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#303502
secondary
#231A79
accent
#29FF3E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303502

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

Preview Lab → · Contrast checker → · Palette generator →

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