#303A02#303A02

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

Color values

HEX#303A02
RGBrgb(48, 58, 2)
HSLhsl(71, 93%, 12%)
HSVhsv(71, 97%, 23%)
CMYKcmyk(17.2%, 0%, 96.6%, 77.3%)
CIE-LABlab(22.51, -12.62, 29.95)
CIE-LCHlch(22.51, 32.51, 112.85°)
OKLaboklab(32.77% -0.038 0.0658)
OKLCHoklch(32.77% 0.076 120)
XYZxyz(2.7430, 3.6589, 0.6192)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A02 #0C023A
analogous
#3A2802 #303A02 #143A02
triadic
#303A02 #02303A #3A0230
tetradic
#303A02 #023A28 #0C023A #3A0214
square
#303A02 #023A28 #0C023A #3A0214
split-complementary
#303A02 #02143A #28023A
monochromatic
#181E01 #181E01 #303A02 #617504 #92B006

Accessibility & contrast

On white

12.13
#303A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303A02
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A02#FFFFFF#000000##FFFFFF
##303A021.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303a02;
/* rgb */ color: rgb(48, 58, 2);
/* oklch */ color: oklch(32.8% 0.076 120.0);
Tailwind
colors: {
  custom: {
    50: '#6b7049',
    500: '#303a02',
    950: '#000000',
  },
}
SCSS
$custom: #303a02;
$custom-light: #6b7049;
$custom-dark: #000000;
JSON
{
  "hex": "#303a02",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 2
  },
  "hsl": {
    "h": 70.714,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.07598,
    "h": 120
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#303A02
secondary
#2C1A7D
accent
#29FF4F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303A02

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

Preview Lab → · Contrast checker → · Palette generator →

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