#303307#303307

#303307 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.062 H 113.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#303307
RGBrgb(48, 51, 7)
HSLhsl(64, 76%, 11%)
HSVhsv(64, 86%, 20%)
CMYKcmyk(5.9%, 0%, 86.3%, 80%)
CIE-LABlab(20.09, -8.04, 25.29)
CIE-LCHlch(20.09, 26.53, 107.63°)
OKLaboklab(30.84% -0.0247 0.0571)
OKLCHoklch(30.84% 0.062 113.4)
XYZxyz(2.4412, 3.0114, 0.6536)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303307 #0A0733
analogous
#332007 #303307 #1A3307
triadic
#303307 #073033 #330730
tetradic
#303307 #073320 #0A0733 #33071A
square
#303307 #073320 #0A0733 #33071A
split-complementary
#303307 #071A33 #200733
monochromatic
#191B04 #191B04 #303307 #63690E #959F16

Accessibility & contrast

On white

13.11
#303307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#303307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303307
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303307#FFFFFF#000000##FFFFFF
##3033071.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383002
Deuteranopia (green-blind)
#37310A
Tritanopia (blue-blind)
#342F2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #303307;
/* rgb */ color: rgb(48, 51, 7);
/* oklch */ color: oklch(30.8% 0.062 113.4);
Tailwind
colors: {
  custom: {
    50: '#6a6a4b',
    500: '#303307',
    950: '#000000',
  },
}
SCSS
$custom: #303307;
$custom-light: #6a6a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303307",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 64.091,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30836,
    "c": 0.06226,
    "h": 113.4
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#303307
secondary
#292373
accent
#35F242
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303307

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

Preview Lab → · Contrast checker → · Palette generator →

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