#303002#303002

#303002 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.063 H 109.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#303002
RGBrgb(48, 48, 2)
HSLhsl(60, 92%, 10%)
HSVhsv(60, 96%, 19%)
CMYKcmyk(0%, 0%, 95.8%, 81.2%)
CIE-LABlab(19.00, -6.51, 26.08)
CIE-LCHlch(19.00, 26.88, 104.02°)
OKLaboklab(29.95% -0.0213 0.0595)
OKLCHoklch(29.95% 0.063 109.7)
XYZxyz(2.2869, 2.7467, 0.4671)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303002 #020230
analogous
#301902 #303002 #193002
triadic
#303002 #023030 #300230
tetradic
#303002 #023019 #020230 #300219
square
#303002 #023019 #020230 #300219
split-complementary
#303002 #021930 #190230
monochromatic
#1D1D01 #1D1D01 #303002 #6B6B04 #A6A607

Accessibility & contrast

On white

13.55
#303002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#303002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303002
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303002#FFFFFF#000000##FFFFFF
##3030021.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#352F05
Tritanopia (blue-blind)
#342C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #303002;
/* rgb */ color: rgb(48, 48, 2);
/* oklch */ color: oklch(29.9% 0.063 109.7);
Tailwind
colors: {
  custom: {
    50: '#6a6848',
    500: '#303002',
    950: '#000000',
  },
}
SCSS
$custom: #303002;
$custom-light: #6a6848;
$custom-dark: #000000;
JSON
{
  "hex": "#303002",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29949,
    "c": 0.06321,
    "h": 109.7
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#303002
secondary
#191975
accent
#29FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070600
muted
#7A7A77

Preview Lab

Preview with #303002

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

Preview Lab → · Contrast checker → · Palette generator →

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