#304003#304003

#304003 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.083 H 124.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#304003
RGBrgb(48, 64, 3)
HSLhsl(76, 91%, 13%)
HSVhsv(76, 95%, 25%)
CMYKcmyk(25%, 0%, 95.3%, 74.9%)
CIE-LABlab(24.64, -15.98, 31.69)
CIE-LCHlch(24.64, 35.50, 116.76°)
OKLaboklab(34.5% -0.047 0.0689)
OKLCHoklch(34.5% 0.083 124.3)
XYZxyz(3.0688, 4.3017, 0.7548)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304003 #130340
analogous
#403103 #304003 #114003
triadic
#304003 #033040 #400330
tetradic
#304003 #034031 #130340 #400311
square
#304003 #034031 #130340 #400311
split-complementary
#304003 #031140 #310340
monochromatic
#161D01 #161D01 #304003 #5C7A06 #88B508

Accessibility & contrast

On white

11.29
#304003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#304003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304003
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304003#FFFFFF#000000##FFFFFF
##3040031.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#423A09
Tritanopia (blue-blind)
#333C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #304003;
/* rgb */ color: rgb(48, 64, 3);
/* oklch */ color: oklch(34.5% 0.083 124.3);
Tailwind
colors: {
  custom: {
    50: '#6b744a',
    500: '#304003',
    950: '#000000',
  },
}
SCSS
$custom: #304003;
$custom-light: #6b744a;
$custom-dark: #000000;
JSON
{
  "hex": "#304003",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 3
  },
  "hsl": {
    "h": 75.738,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34499,
    "c": 0.08338,
    "h": 124.3
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#304003
secondary
#371D82
accent
#29FF61
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #304003

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

Preview Lab → · Contrast checker → · Palette generator →

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