#302F09#302F09

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

Color values

HEX#302F09
RGBrgb(48, 47, 9)
HSLhsl(58, 68%, 11%)
HSVhsv(58, 81%, 19%)
CMYKcmyk(0%, 2.1%, 81.3%, 81.2%)
CIE-LABlab(18.72, -5.35, 22.90)
CIE-LCHlch(18.72, 23.51, 103.15°)
OKLaboklab(29.75% -0.0169 0.0526)
OKLCHoklch(29.75% 0.055 107.9)
XYZxyz(2.2848, 2.6812, 0.6556)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F09 #090A30
analogous
#301B09 #302F09 #1D3009
triadic
#302F09 #09302F #2F0930
tetradic
#302F09 #09301B #090A30 #30091D
square
#302F09 #09301B #090A30 #30091D
split-complementary
#302F09 #091D30 #1B0930
monochromatic
#1A1905 #1A1905 #302F09 #646113 #97941C

Accessibility & contrast

On white

13.67
#302F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302F09
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F09#FFFFFF#000000##FFFFFF
##302F091.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D05
Deuteranopia (green-blind)
#342E0C
Tritanopia (blue-blind)
#342B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302f09;
/* rgb */ color: rgb(48, 47, 9);
/* oklch */ color: oklch(29.7% 0.055 107.9);
Tailwind
colors: {
  custom: {
    50: '#6a674b',
    500: '#302f09',
    950: '#000000',
  },
}
SCSS
$custom: #302f09;
$custom-light: #6a674b;
$custom-dark: #000000;
JSON
{
  "hex": "#302f09",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 58.462,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29746,
    "c": 0.05523,
    "h": 107.9
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#302F09
secondary
#27296E
accent
#41EB3D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #302F09

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

Preview Lab → · Contrast checker → · Palette generator →

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