#302702#302702

#302702 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.054 H 95.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#302702
RGBrgb(48, 39, 2)
HSLhsl(48, 92%, 10%)
HSVhsv(48, 96%, 19%)
CMYKcmyk(0%, 18.7%, 95.8%, 81.2%)
CIE-LABlab(15.92, -0.59, 22.35)
CIE-LCHlch(15.92, 22.36, 91.50°)
OKLaboklab(27.5% -0.0047 0.054)
OKLCHoklch(27.5% 0.054 95)
XYZxyz(1.9555, 2.0839, 0.3567)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302702 #020B30
analogous
#301002 #302702 #223002
triadic
#302702 #023027 #270230
tetradic
#302702 #023010 #020B30 #300222
square
#302702 #023010 #020B30 #300222
split-complementary
#302702 #022230 #100230
monochromatic
#1D1801 #1D1801 #302702 #6B5704 #A68607

Accessibility & contrast

On white

14.82
#302702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#302702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302702
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302702#FFFFFF#000000##FFFFFF
##3027021.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2F2904
Tritanopia (blue-blind)
#352320
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #302702;
/* rgb */ color: rgb(48, 39, 2);
/* oklch */ color: oklch(27.5% 0.054 95.0);
Tailwind
colors: {
  custom: {
    50: '#6a6047',
    500: '#302702',
    950: '#000000',
  },
}
SCSS
$custom: #302702;
$custom-light: #6a6047;
$custom-dark: #000000;
JSON
{
  "hex": "#302702",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 48.261,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27501,
    "c": 0.05418,
    "h": 95
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#302702
secondary
#192B75
accent
#53FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #302702

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

Preview Lab → · Contrast checker → · Palette generator →

#302702 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva