#303103#303103

#303103 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.063 H 110.9°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#303103
RGBrgb(48, 49, 3)
HSLhsl(61, 88%, 10%)
HSVhsv(61, 94%, 19%)
CMYKcmyk(2%, 0%, 93.9%, 80.8%)
CIE-LABlab(19.36, -7.07, 26.08)
CIE-LCHlch(19.36, 27.02, 105.17°)
OKLaboklab(30.24% -0.0227 0.0592)
OKLCHoklch(30.24% 0.063 110.9)
XYZxyz(2.3338, 2.8316, 0.5098)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303103 #040331
analogous
#311B03 #303103 #193103
triadic
#303103 #033031 #310330
tetradic
#303103 #03311B #040331 #310319
square
#303103 #03311B #040331 #310319
split-complementary
#303103 #031931 #1B0331
monochromatic
#1C1D02 #1C1D02 #303103 #686B07 #A1A40A

Accessibility & contrast

On white

13.41
#303103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#303103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303103
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303103#FFFFFF#000000##FFFFFF
##3031031.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#362F06
Tritanopia (blue-blind)
#342D28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #303103;
/* rgb */ color: rgb(48, 49, 3);
/* oklch */ color: oklch(30.2% 0.063 110.9);
Tailwind
colors: {
  custom: {
    50: '#6a6848',
    500: '#303103',
    950: '#000000',
  },
}
SCSS
$custom: #303103;
$custom-light: #6a6848;
$custom-dark: #000000;
JSON
{
  "hex": "#303103",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 61.304,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30238,
    "c": 0.06343,
    "h": 110.9
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#303103
secondary
#1D1B74
accent
#29FF2E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303103

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

Preview Lab → · Contrast checker → · Palette generator →

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