#306513#306513

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

Color values

HEX#306513
RGBrgb(48, 101, 19)
HSLhsl(99, 68%, 24%)
HSVhsv(99, 81%, 40%)
CMYKcmyk(52.5%, 0%, 81.2%, 60.4%)
CIE-LABlab(37.81, -32.97, 38.08)
CIE-LCHlch(37.81, 50.37, 130.88°)
OKLaboklab(45.29% -0.0915 0.085)
OKLCHoklch(45.29% 0.125 137.1)
XYZxyz(5.9900, 9.9823, 2.2271)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306513 #481365
analogous
#596513 #306513 #13651F
triadic
#306513 #133065 #651330
tetradic
#306513 #135965 #481365 #651F13
square
#306513 #135965 #481365 #651F13
split-complementary
#306513 #1F1365 #651359
monochromatic
#0C1A05 #183109 #306513 #48991D #61CC26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306513#FFFFFF#000000##FFFFFF
##3065131.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)
#695C02
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#2D6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #306513;
/* rgb */ color: rgb(48, 101, 19);
/* oklch */ color: oklch(45.3% 0.125 137.1);
Tailwind
colors: {
  custom: {
    50: '#6e9158',
    500: '#306513',
    950: '#000000',
  },
}
SCSS
$custom: #306513;
$custom-light: #6e9158;
$custom-dark: #000000;
JSON
{
  "hex": "#306513",
  "rgb": {
    "r": 48,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 98.78,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.12489,
    "h": 137.1
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#306513
secondary
#79379D
accent
#3DEBAD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306513

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

Preview Lab → · Contrast checker → · Palette generator →

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