#302F07#302F07

#302F07 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.057 H 108.0°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#302F07
RGBrgb(48, 47, 7)
HSLhsl(59, 75%, 11%)
HSVhsv(59, 85%, 19%)
CMYKcmyk(0%, 2.1%, 85.4%, 81.2%)
CIE-LABlab(18.70, -5.50, 23.69)
CIE-LCHlch(18.70, 24.32, 103.06°)
OKLaboklab(29.73% -0.0176 0.0543)
OKLCHoklch(29.73% 0.057 108)
XYZxyz(2.2739, 2.6768, 0.5979)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F07 #070830
analogous
#301A07 #302F07 #1C3007
triadic
#302F07 #07302F #2F0730
tetradic
#302F07 #07301A #070830 #30071C
square
#302F07 #07301A #070830 #30071C
split-complementary
#302F07 #071C30 #1A0730
monochromatic
#1B1A04 #1B1A04 #302F07 #65630F #9B9817

Accessibility & contrast

On white

13.68
#302F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#302F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F07
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F07#FFFFFF#000000##FFFFFF
##302F071.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D02
Deuteranopia (green-blind)
#342E0A
Tritanopia (blue-blind)
#342B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302f07;
/* rgb */ color: rgb(48, 47, 7);
/* oklch */ color: oklch(29.7% 0.057 108.0);
Tailwind
colors: {
  custom: {
    50: '#6a674a',
    500: '#302f07',
    950: '#000000',
  },
}
SCSS
$custom: #302f07;
$custom-light: #6a674a;
$custom-dark: #000000;
JSON
{
  "hex": "#302f07",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 58.537,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29725,
    "c": 0.05712,
    "h": 108
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#302F07
secondary
#232570
accent
#3BF137
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #302F07

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

Preview Lab → · Contrast checker → · Palette generator →

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