#303402#303402

#303402 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.1% C 0.068 H 114.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#303402
RGBrgb(48, 52, 2)
HSLhsl(65, 93%, 11%)
HSVhsv(65, 96%, 20%)
CMYKcmyk(7.7%, 0%, 96.2%, 79.6%)
CIE-LABlab(20.40, -9.02, 27.67)
CIE-LCHlch(20.40, 29.10, 108.05°)
OKLaboklab(31.07% -0.0282 0.062)
OKLCHoklch(31.07% 0.068 114.4)
XYZxyz(2.4580, 3.0888, 0.5241)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303402 #060234
analogous
#341F02 #303402 #173402
triadic
#303402 #023034 #340230
tetradic
#303402 #02341F #060234 #340217
square
#303402 #02341F #060234 #340217
split-complementary
#303402 #021734 #1F0234
monochromatic
#1B1D01 #1B1D01 #303402 #666F04 #9DAA07

Accessibility & contrast

On white

12.98
#303402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#303402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303402
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303402#FFFFFF#000000##FFFFFF
##3034021.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#393206
Tritanopia (blue-blind)
#34302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #303402;
/* rgb */ color: rgb(48, 52, 2);
/* oklch */ color: oklch(31.1% 0.068 114.4);
Tailwind
colors: {
  custom: {
    50: '#6a6b48',
    500: '#303402',
    950: '#000000',
  },
}
SCSS
$custom: #303402;
$custom-light: #6a6b48;
$custom-dark: #000000;
JSON
{
  "hex": "#303402",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 64.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.31068,
    "c": 0.06813,
    "h": 114.4
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#303402
secondary
#211A78
accent
#29FF3A
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303402

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

Preview Lab → · Contrast checker → · Palette generator →

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