#303104#303104

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

Color values

HEX#303104
RGBrgb(48, 49, 4)
HSLhsl(61, 85%, 10%)
HSVhsv(61, 92%, 19%)
CMYKcmyk(2%, 0%, 91.8%, 80.8%)
CIE-LABlab(19.37, -7.00, 25.69)
CIE-LCHlch(19.37, 26.62, 105.24°)
OKLaboklab(30.25% -0.0223 0.0584)
OKLCHoklch(30.25% 0.062 110.9)
XYZxyz(2.3392, 2.8338, 0.5386)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303104 #050431
analogous
#311B04 #303104 #193104
triadic
#303104 #043031 #310430
tetradic
#303104 #04311B #050431 #310419
square
#303104 #04311B #050431 #310419
split-complementary
#303104 #041931 #1B0431
monochromatic
#1C1C02 #1C1C02 #303104 #676A09 #9FA20D

Accessibility & contrast

On white

13.40
#303104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303104
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303104#FFFFFF#000000##FFFFFF
##3031041.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303104;
/* rgb */ color: rgb(48, 49, 4);
/* oklch */ color: oklch(30.2% 0.062 110.9);
Tailwind
colors: {
  custom: {
    50: '#6a6849',
    500: '#303104',
    950: '#000000',
  },
}
SCSS
$custom: #303104;
$custom-light: #6a6849;
$custom-dark: #000000;
JSON
{
  "hex": "#303104",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 61.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30248,
    "c": 0.06246,
    "h": 110.9
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#303104
secondary
#1F1D73
accent
#2DFB31
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303104

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

Preview Lab → · Contrast checker → · Palette generator →

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