#303108#303108

#303108 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.059 H 110.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#303108
RGBrgb(48, 49, 8)
HSLhsl(61, 72%, 11%)
HSVhsv(61, 84%, 19%)
CMYKcmyk(2%, 0%, 83.7%, 80.8%)
CIE-LABlab(19.40, -6.70, 24.10)
CIE-LCHlch(19.40, 25.01, 105.55°)
OKLaboklab(30.29% -0.0209 0.0549)
OKLCHoklch(30.29% 0.059 110.8)
XYZxyz(2.3611, 2.8426, 0.6540)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303108 #090831
analogous
#311D08 #303108 #1B3108
triadic
#303108 #083031 #310830
tetradic
#303108 #08311D #090831 #31081B
square
#303108 #08311D #090831 #31081B
split-complementary
#303108 #081B31 #1D0831
monochromatic
#1A1A04 #1A1A04 #303108 #646611 #979A19

Accessibility & contrast

On white

13.39
#303108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303108
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303108#FFFFFF#000000##FFFFFF
##3031081.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E03
Deuteranopia (green-blind)
#36300B
Tritanopia (blue-blind)
#342D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #303108;
/* rgb */ color: rgb(48, 49, 8);
/* oklch */ color: oklch(30.3% 0.059 110.8);
Tailwind
colors: {
  custom: {
    50: '#6a684b',
    500: '#303108',
    950: '#000000',
  },
}
SCSS
$custom: #303108;
$custom-light: #6a684b;
$custom-dark: #000000;
JSON
{
  "hex": "#303108",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 61.463,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30289,
    "c": 0.05871,
    "h": 110.8
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#303108
secondary
#272570
accent
#39EF3E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #303108

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

Preview Lab → · Contrast checker → · Palette generator →

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