#302908#302908

#302908 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.049 H 97.1°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#302908
RGBrgb(48, 41, 8)
HSLhsl(50, 71%, 11%)
HSVhsv(50, 83%, 19%)
CMYKcmyk(0%, 14.6%, 83.3%, 81.2%)
CIE-LABlab(16.66, -1.47, 20.83)
CIE-LCHlch(16.66, 20.88, 94.02°)
OKLaboklab(28.11% -0.0061 0.0491)
OKLCHoklch(28.11% 0.049 97.1)
XYZxyz(2.0558, 2.2319, 0.5522)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302908 #080F30
analogous
#301508 #302908 #233008
triadic
#302908 #083029 #290830
tetradic
#302908 #083015 #080F30 #300823
square
#302908 #083015 #080F30 #300823
split-complementary
#302908 #082330 #150830
monochromatic
#1A1604 #1A1604 #302908 #645611 #998319

Accessibility & contrast

On white

14.52
#302908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#302908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302908
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302908#FFFFFF#000000##FFFFFF
##3029081.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2805
Deuteranopia (green-blind)
#302A0A
Tritanopia (blue-blind)
#352522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #302908;
/* rgb */ color: rgb(48, 41, 8);
/* oklch */ color: oklch(28.1% 0.049 97.1);
Tailwind
colors: {
  custom: {
    50: '#6a624a',
    500: '#302908',
    950: '#000000',
  },
}
SCSS
$custom: #302908;
$custom-light: #6a624a;
$custom-dark: #000000;
JSON
{
  "hex": "#302908",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 8
  },
  "hsl": {
    "h": 49.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28107,
    "c": 0.04948,
    "h": 97.1
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#302908
secondary
#25326F
accent
#59EE3A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302908

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

Preview Lab → · Contrast checker → · Palette generator →

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