#303308#303308

#303308 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.061 H 113.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#303308
RGBrgb(48, 51, 8)
HSLhsl(64, 73%, 12%)
HSVhsv(64, 84%, 20%)
CMYKcmyk(5.9%, 0%, 84.3%, 80%)
CIE-LABlab(20.10, -7.96, 24.89)
CIE-LCHlch(20.10, 26.13, 107.74°)
OKLaboklab(30.85% -0.0244 0.0563)
OKLCHoklch(30.85% 0.061 113.4)
XYZxyz(2.4467, 3.0136, 0.6825)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303308 #0B0833
analogous
#332108 #303308 #1B3308
triadic
#303308 #083033 #330830
tetradic
#303308 #083321 #0B0833 #33081B
square
#303308 #083321 #0B0833 #33081B
split-complementary
#303308 #081B33 #210833
monochromatic
#191A04 #191A04 #303308 #626810 #949D19

Accessibility & contrast

On white

13.10
#303308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#303308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303308
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303308#FFFFFF#000000##FFFFFF
##3033081.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373003
Deuteranopia (green-blind)
#37310B
Tritanopia (blue-blind)
#342F2B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #303308;
/* rgb */ color: rgb(48, 51, 8);
/* oklch */ color: oklch(30.8% 0.061 113.4);
Tailwind
colors: {
  custom: {
    50: '#6a6a4b',
    500: '#303308',
    950: '#000000',
  },
}
SCSS
$custom: #303308;
$custom-light: #6a6a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303308",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 64.186,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30846,
    "c": 0.06137,
    "h": 113.4
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#303308
secondary
#2A2572
accent
#38F045
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #303308

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

Preview Lab → · Contrast checker → · Palette generator →

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