#303F03#303F03

#303F03 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.082 H 123.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#303F03
RGBrgb(48, 63, 3)
HSLhsl(75, 91%, 13%)
HSVhsv(75, 95%, 25%)
CMYKcmyk(23.8%, 0%, 95.2%, 75.3%)
CIE-LABlab(24.29, -15.42, 31.35)
CIE-LCHlch(24.29, 34.94, 116.19°)
OKLaboklab(34.21% -0.0455 0.0682)
OKLCHoklch(34.21% 0.082 123.7)
XYZxyz(3.0129, 4.1899, 0.7361)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303F03 #12033F
analogous
#3F3003 #303F03 #123F03
triadic
#303F03 #03303F #3F0330
tetradic
#303F03 #033F30 #12033F #3F0312
square
#303F03 #033F30 #12033F #3F0312
split-complementary
#303F03 #03123F #30033F
monochromatic
#161D01 #161D01 #303F03 #5D7906 #89B409

Accessibility & contrast

On white

11.43
#303F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#303F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303F03
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303F03#FFFFFF#000000##FFFFFF
##303F031.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#413A09
Tritanopia (blue-blind)
#333B34
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303f03;
/* rgb */ color: rgb(48, 63, 3);
/* oklch */ color: oklch(34.2% 0.082 123.7);
Tailwind
colors: {
  custom: {
    50: '#6b744a',
    500: '#303f03',
    950: '#000000',
  },
}
SCSS
$custom: #303f03;
$custom-light: #6b744a;
$custom-dark: #000000;
JSON
{
  "hex": "#303f03",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 3
  },
  "hsl": {
    "h": 75,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.34211,
    "c": 0.082,
    "h": 123.7
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#303F03
secondary
#361D81
accent
#29FF5E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303F03

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

Preview Lab → · Contrast checker → · Palette generator →

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