#303A03#303A03

#303A03 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.075 H 120.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#303A03
RGBrgb(48, 58, 3)
HSLhsl(71, 90%, 12%)
HSVhsv(71, 95%, 23%)
CMYKcmyk(17.2%, 0%, 94.8%, 77.3%)
CIE-LABlab(22.52, -12.56, 29.56)
CIE-LCHlch(22.52, 32.11, 113.02°)
OKLaboklab(32.78% -0.0377 0.065)
OKLCHoklch(32.78% 0.075 120.1)
XYZxyz(2.7485, 3.6611, 0.6480)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A03 #0D033A
analogous
#3A2903 #303A03 #153A03
triadic
#303A03 #03303A #3A0330
tetradic
#303A03 #033A29 #0D033A #3A0315
square
#303A03 #033A29 #0D033A #3A0315
split-complementary
#303A03 #03153A #29033A
monochromatic
#181D02 #181D02 #303A03 #607406 #90AE09

Accessibility & contrast

On white

12.12
#303A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#303A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A03
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A03#FFFFFF#000000##FFFFFF
##303A031.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D3608
Tritanopia (blue-blind)
#333630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a03;
/* rgb */ color: rgb(48, 58, 3);
/* oklch */ color: oklch(32.8% 0.075 120.1);
Tailwind
colors: {
  custom: {
    50: '#6a7049',
    500: '#303a03',
    950: '#000000',
  },
}
SCSS
$custom: #303a03;
$custom-light: #6a7049;
$custom-dark: #000000;
JSON
{
  "hex": "#303a03",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 70.909,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32778,
    "c": 0.07516,
    "h": 120.1
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#303A03
secondary
#2E1C7D
accent
#29FF50
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303A03

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

Preview Lab → · Contrast checker → · Palette generator →

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