#302F06#302F06

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

Color values

HEX#302F06
RGBrgb(48, 47, 6)
HSLhsl(59, 78%, 11%)
HSVhsv(59, 88%, 19%)
CMYKcmyk(0%, 2.1%, 87.5%, 81.2%)
CIE-LABlab(18.69, -5.57, 24.09)
CIE-LCHlch(18.69, 24.72, 103.03°)
OKLaboklab(29.72% -0.018 0.0552)
OKLCHoklch(29.72% 0.058 108.1)
XYZxyz(2.2684, 2.6746, 0.5690)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F06 #060730
analogous
#301A06 #302F06 #1C3006
triadic
#302F06 #06302F #2F0630
tetradic
#302F06 #06301A #060730 #30061C
square
#302F06 #06301A #060730 #30061C
split-complementary
#302F06 #061C30 #1A0630
monochromatic
#1B1B03 #1B1B03 #302F06 #66640D #9D9A14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302F06#FFFFFF#000000##FFFFFF
##302F061.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)
#342D01
Deuteranopia (green-blind)
#342E09
Tritanopia (blue-blind)
#342B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302f06;
/* rgb */ color: rgb(48, 47, 6);
/* oklch */ color: oklch(29.7% 0.058 108.1);
Tailwind
colors: {
  custom: {
    50: '#6a674a',
    500: '#302f06',
    950: '#000000',
  },
}
SCSS
$custom: #302f06;
$custom-light: #6a674a;
$custom-dark: #000000;
JSON
{
  "hex": "#302f06",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 58.571,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29715,
    "c": 0.05808,
    "h": 108.1
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#302F06
secondary
#212371
accent
#38F434
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #302F06

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

Preview Lab → · Contrast checker → · Palette generator →

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