#303B06#303B06

#303B06 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.074 H 121.2°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#303B06
RGBrgb(48, 59, 6)
HSLhsl(72, 82%, 13%)
HSVhsv(72, 90%, 23%)
CMYKcmyk(18.6%, 0%, 89.8%, 76.9%)
CIE-LABlab(22.89, -12.94, 28.72)
CIE-LCHlch(22.89, 31.50, 114.24°)
OKLaboklab(33.09% -0.0384 0.0634)
OKLCHoklch(33.09% 0.074 121.2)
XYZxyz(2.8158, 3.7695, 0.7515)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B06 #11063B
analogous
#3B2B06 #303B06 #153B06
triadic
#303B06 #06303B #3B0630
tetradic
#303B06 #063B2B #11063B #3B0615
square
#303B06 #063B2B #11063B #3B0615
split-complementary
#303B06 #06153B #2B063B
monochromatic
#171C03 #171C03 #303B06 #5D730C #8AAA11

Accessibility & contrast

On white

11.97
#303B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#303B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B06
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B06#FFFFFF#000000##FFFFFF
##303B061.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#333731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303b06;
/* rgb */ color: rgb(48, 59, 6);
/* oklch */ color: oklch(33.1% 0.074 121.2);
Tailwind
colors: {
  custom: {
    50: '#6a704b',
    500: '#303b06',
    950: '#000000',
  },
}
SCSS
$custom: #303b06;
$custom-light: #6a704b;
$custom-dark: #000000;
JSON
{
  "hex": "#303b06",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 72.453,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33089,
    "c": 0.07414,
    "h": 121.2
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#303B06
secondary
#34227B
accent
#30F859
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303B06

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

Preview Lab → · Contrast checker → · Palette generator →

#303B06 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva