#306511#306511

#306511 is a mid, vivid yellow-green. Relative luminance 0.100; OKLCH L 45.3% C 0.126 H 136.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#306511
RGBrgb(48, 101, 17)
HSLhsl(98, 71%, 23%)
HSVhsv(98, 83%, 40%)
CMYKcmyk(52.5%, 0%, 83.2%, 60.4%)
CIE-LABlab(37.80, -33.10, 38.77)
CIE-LCHlch(37.80, 50.98, 130.48°)
OKLaboklab(45.28% -0.092 0.0861)
OKLCHoklch(45.28% 0.126 136.9)
XYZxyz(5.9736, 9.9758, 2.1410)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306511 #461165
analogous
#5A6511 #306511 #11651C
triadic
#306511 #113065 #651130
tetradic
#306511 #115A65 #461165 #651C11
square
#306511 #115A65 #461165 #651C11
split-complementary
#306511 #1C1165 #65115A
monochromatic
#0C1A04 #173108 #306511 #49991A #62CE23

Accessibility & contrast

On white

7.01
#306511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#306511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306511
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306511#FFFFFF#000000##FFFFFF
##3065111.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#2D6155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #306511;
/* rgb */ color: rgb(48, 101, 17);
/* oklch */ color: oklch(45.3% 0.126 136.9);
Tailwind
colors: {
  custom: {
    50: '#6f9157',
    500: '#306511',
    950: '#000000',
  },
}
SCSS
$custom: #306511;
$custom-light: #6f9157;
$custom-dark: #000000;
JSON
{
  "hex": "#306511",
  "rgb": {
    "r": 48,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 97.857,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.12601,
    "h": 136.9
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#306511
secondary
#77359D
accent
#3AEEAB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306511

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

Preview Lab → · Contrast checker → · Palette generator →

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