#302C07#302C07

#302C07 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.054 H 103.1°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#302C07
RGBrgb(48, 44, 7)
HSLhsl(54, 75%, 11%)
HSVhsv(54, 85%, 19%)
CMYKcmyk(0%, 8.3%, 85.4%, 81.2%)
CIE-LABlab(17.67, -3.54, 22.46)
CIE-LCHlch(17.67, 22.74, 98.96°)
OKLaboklab(28.9% -0.0121 0.0522)
OKLCHoklch(28.9% 0.054 103.1)
XYZxyz(2.1580, 2.4452, 0.5593)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C07 #070B30
analogous
#301707 #302C07 #1F3007
triadic
#302C07 #07302C #2C0730
tetradic
#302C07 #073017 #070B30 #30071F
square
#302C07 #073017 #070B30 #30071F
split-complementary
#302C07 #071F30 #170730
monochromatic
#1B1804 #1B1804 #302C07 #655D0F #9B8E17

Accessibility & contrast

On white

14.10
#302C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#302C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C07
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C07#FFFFFF#000000##FFFFFF
##302C071.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#322C09
Tritanopia (blue-blind)
#342825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302c07;
/* rgb */ color: rgb(48, 44, 7);
/* oklch */ color: oklch(28.9% 0.054 103.1);
Tailwind
colors: {
  custom: {
    50: '#6a644a',
    500: '#302c07',
    950: '#000000',
  },
}
SCSS
$custom: #302c07;
$custom-light: #6a644a;
$custom-dark: #000000;
JSON
{
  "hex": "#302c07",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 54.146,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28904,
    "c": 0.0536,
    "h": 103.1
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#302C07
secondary
#232B70
accent
#49F137
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302C07

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

Preview Lab → · Contrast checker → · Palette generator →

#302C07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva