#302F03#302F03

#302F03 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.061 H 108.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#302F03
RGBrgb(48, 47, 3)
HSLhsl(59, 88%, 10%)
HSVhsv(59, 94%, 19%)
CMYKcmyk(0%, 2.1%, 93.8%, 81.2%)
CIE-LABlab(18.66, -5.80, 25.28)
CIE-LCHlch(18.66, 25.93, 102.92°)
OKLaboklab(29.68% -0.0191 0.058)
OKLCHoklch(29.68% 0.061 108.3)
XYZxyz(2.2520, 2.6681, 0.4825)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F03 #030430
analogous
#301903 #302F03 #1A3003
triadic
#302F03 #03302F #2F0330
tetradic
#302F03 #033019 #030430 #30031A
square
#302F03 #033019 #030430 #30031A
split-complementary
#302F03 #031A30 #190330
monochromatic
#1D1C02 #1D1C02 #302F03 #6A6707 #A3A00A

Accessibility & contrast

On white

13.69
#302F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#302F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F03
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F03#FFFFFF#000000##FFFFFF
##302F031.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#352E06
Tritanopia (blue-blind)
#342B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302f03;
/* rgb */ color: rgb(48, 47, 3);
/* oklch */ color: oklch(29.7% 0.061 108.3);
Tailwind
colors: {
  custom: {
    50: '#6a6748',
    500: '#302f03',
    950: '#000000',
  },
}
SCSS
$custom: #302f03;
$custom-light: #6a6748;
$custom-dark: #000000;
JSON
{
  "hex": "#302f03",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 58.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.29683,
    "c": 0.06104,
    "h": 108.3
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#302F03
secondary
#1B1D73
accent
#2EFE29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070601
muted
#7A7A77

Preview Lab

Preview with #302F03

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

Preview Lab → · Contrast checker → · Palette generator →

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