#303107#303107

#303107 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.060 H 110.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#303107
RGBrgb(48, 49, 7)
HSLhsl(61, 75%, 11%)
HSVhsv(61, 86%, 19%)
CMYKcmyk(2%, 0%, 85.7%, 80.8%)
CIE-LABlab(19.39, -6.78, 24.50)
CIE-LCHlch(19.39, 25.42, 105.46°)
OKLaboklab(30.28% -0.0212 0.0557)
OKLCHoklch(30.28% 0.06 110.8)
XYZxyz(2.3557, 2.8404, 0.6251)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303107 #080731
analogous
#311D07 #303107 #1B3107
triadic
#303107 #073031 #310730
tetradic
#303107 #07311D #080731 #31071B
square
#303107 #07311D #080731 #31071B
split-complementary
#303107 #071B31 #1D0731
monochromatic
#1A1B04 #1A1B04 #303107 #64670F #999C16

Accessibility & contrast

On white

13.39
#303107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303107
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303107#FFFFFF#000000##FFFFFF
##3031071.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E02
Deuteranopia (green-blind)
#36300A
Tritanopia (blue-blind)
#342D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #303107;
/* rgb */ color: rgb(48, 49, 7);
/* oklch */ color: oklch(30.3% 0.060 110.8);
Tailwind
colors: {
  custom: {
    50: '#6a684a',
    500: '#303107',
    950: '#000000',
  },
}
SCSS
$custom: #303107;
$custom-light: #6a684a;
$custom-dark: #000000;
JSON
{
  "hex": "#303107",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 61.429,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30279,
    "c": 0.05964,
    "h": 110.8
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#303107
secondary
#252371
accent
#36F23B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #303107

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

Preview Lab → · Contrast checker → · Palette generator →

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