#302E02#302E02

#302E02 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.061 H 106.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#302E02
RGBrgb(48, 46, 2)
HSLhsl(57, 92%, 10%)
HSVhsv(57, 96%, 19%)
CMYKcmyk(0%, 4.2%, 95.8%, 81.2%)
CIE-LABlab(18.31, -5.23, 25.26)
CIE-LCHlch(18.31, 25.80, 101.69°)
OKLaboklab(29.4% -0.0177 0.0583)
OKLCHoklch(29.4% 0.061 106.9)
XYZxyz(2.2070, 2.5868, 0.4405)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E02 #020430
analogous
#301702 #302E02 #1B3002
triadic
#302E02 #02302E #2E0230
tetradic
#302E02 #023017 #020430 #30021B
square
#302E02 #023017 #020430 #30021B
split-complementary
#302E02 #021B30 #170230
monochromatic
#1D1C01 #1D1C01 #302E02 #6B6604 #A69F07

Accessibility & contrast

On white

13.84
#302E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#302E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E02
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E02#FFFFFF#000000##FFFFFF
##302E021.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#342D05
Tritanopia (blue-blind)
#342A26
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302e02;
/* rgb */ color: rgb(48, 46, 2);
/* oklch */ color: oklch(29.4% 0.061 106.9);
Tailwind
colors: {
  custom: {
    50: '#6a6648',
    500: '#302e02',
    950: '#000000',
  },
}
SCSS
$custom: #302e02;
$custom-light: #6a6648;
$custom-dark: #000000;
JSON
{
  "hex": "#302e02",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 57.391,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29396,
    "c": 0.06092,
    "h": 106.9
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#302E02
secondary
#191D75
accent
#32FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070500
muted
#7A7A77

Preview Lab

Preview with #302E02

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

Preview Lab → · Contrast checker → · Palette generator →

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