#305F11#305F11

#305F11 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.6% C 0.118 H 136.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#305F11
RGBrgb(48, 95, 17)
HSLhsl(96, 70%, 22%)
HSVhsv(96, 82%, 37%)
CMYKcmyk(49.5%, 0%, 82.1%, 62.7%)
CIE-LABlab(35.70, -30.48, 36.78)
CIE-LCHlch(35.70, 47.77, 129.65°)
OKLaboklab(43.55% -0.085 0.0819)
OKLCHoklch(43.55% 0.118 136)
XYZxyz(5.4122, 8.8529, 1.9538)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F11 #40115F
analogous
#575F11 #305F11 #115F19
triadic
#305F11 #11305F #5F1130
tetradic
#305F11 #11575F #40115F #5F1911
square
#305F11 #11575F #40115F #5F1911
split-complementary
#305F11 #19115F #5F1157
monochromatic
#0D1A05 #162B08 #305F11 #4A931A #64C724

Accessibility & contrast

On white

7.58
#305F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#305F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305F11
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F11#FFFFFF#000000##FFFFFF
##305F111.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635601
Deuteranopia (green-blind)
#5C5319
Tritanopia (blue-blind)
#2E5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305f11;
/* rgb */ color: rgb(48, 95, 17);
/* oklch */ color: oklch(43.6% 0.118 136.0);
Tailwind
colors: {
  custom: {
    50: '#6e8d56',
    500: '#305f11',
    950: '#000000',
  },
}
SCSS
$custom: #305f11;
$custom-light: #6e8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#305f11",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 96.154,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43553,
    "c": 0.11804,
    "h": 136
  },
  "luminance": 0.08853
}

Semantic roles & 50–950 ramp

primary
#305F11
secondary
#703498
accent
#3BECA6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305F11

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

Preview Lab → · Contrast checker → · Palette generator →

#305F11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva