#306510#306510

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

Color values

HEX#306510
RGBrgb(48, 101, 16)
HSLhsl(97, 73%, 23%)
HSVhsv(97, 84%, 40%)
CMYKcmyk(52.5%, 0%, 84.2%, 60.4%)
CIE-LABlab(37.79, -33.16, 39.11)
CIE-LCHlch(37.79, 51.27, 130.30°)
OKLaboklab(45.27% -0.0922 0.0867)
OKLCHoklch(45.27% 0.127 136.8)
XYZxyz(5.9660, 9.9727, 2.1007)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306510 #451065
analogous
#5A6510 #306510 #10651A
triadic
#306510 #103065 #651030
tetradic
#306510 #105A65 #451065 #651A10
square
#306510 #105A65 #451065 #651A10
split-complementary
#306510 #1A1065 #65105A
monochromatic
#0D1A04 #173008 #306510 #499A18 #62CF21

Accessibility & contrast

On white

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

On black

2.99
#306510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##306510#FFFFFF#000000##FFFFFF
##3065101.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #306510;
/* rgb */ color: rgb(48, 101, 16);
/* oklch */ color: oklch(45.3% 0.127 136.8);
Tailwind
colors: {
  custom: {
    50: '#6f9156',
    500: '#306510',
    950: '#000000',
  },
}
SCSS
$custom: #306510;
$custom-light: #6f9156;
$custom-dark: #000000;
JSON
{
  "hex": "#306510",
  "rgb": {
    "r": 48,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 97.412,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.12654,
    "h": 136.8
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#306510
secondary
#76339D
accent
#38EFAA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306510

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

Preview Lab → · Contrast checker → · Palette generator →

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