#303102#303102

#303102 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.064 H 111.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#303102
RGBrgb(48, 49, 2)
HSLhsl(61, 92%, 10%)
HSVhsv(61, 96%, 19%)
CMYKcmyk(2%, 0%, 95.9%, 80.8%)
CIE-LABlab(19.35, -7.15, 26.48)
CIE-LCHlch(19.35, 27.43, 105.11°)
OKLaboklab(30.23% -0.023 0.0601)
OKLCHoklch(30.23% 0.064 111)
XYZxyz(2.3283, 2.8295, 0.4809)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303102 #030231
analogous
#311B02 #303102 #183102
triadic
#303102 #023031 #310230
tetradic
#303102 #02311B #030231 #310218
square
#303102 #02311B #030231 #310218
split-complementary
#303102 #021831 #1B0231
monochromatic
#1D1D01 #1D1D01 #303102 #6A6C04 #A3A707

Accessibility & contrast

On white

13.41
#303102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#303102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303102
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303102#FFFFFF#000000##FFFFFF
##3031021.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#362F05
Tritanopia (blue-blind)
#342D28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #303102;
/* rgb */ color: rgb(48, 49, 2);
/* oklch */ color: oklch(30.2% 0.064 111.0);
Tailwind
colors: {
  custom: {
    50: '#6a6848',
    500: '#303102',
    950: '#000000',
  },
}
SCSS
$custom: #303102;
$custom-light: #6a6848;
$custom-dark: #000000;
JSON
{
  "hex": "#303102",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 61.277,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.30228,
    "c": 0.0644,
    "h": 111
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#303102
secondary
#1B1975
accent
#29FF2D
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070600
muted
#7A7A77

Preview Lab

Preview with #303102

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

Preview Lab → · Contrast checker → · Palette generator →

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