#306311#306311

#306311 is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.7% C 0.123 H 136.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#306311
RGBrgb(48, 99, 17)
HSLhsl(97, 71%, 23%)
HSVhsv(97, 83%, 39%)
CMYKcmyk(51.5%, 0%, 82.8%, 61.2%)
CIE-LABlab(37.10, -32.24, 38.11)
CIE-LCHlch(37.10, 49.92, 130.23°)
OKLaboklab(44.71% -0.0897 0.0847)
OKLCHoklch(44.71% 0.123 136.6)
XYZxyz(5.7818, 9.5921, 2.0770)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306311 #441163
analogous
#596311 #306311 #11631B
triadic
#306311 #113063 #631130
tetradic
#306311 #115963 #441163 #631B11
square
#306311 #115963 #441163 #631B11
split-complementary
#306311 #1B1163 #631159
monochromatic
#0D1A04 #172F08 #306311 #49971A #63CB23

Accessibility & contrast

On white

7.20
#306311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#306311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306311
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306311#FFFFFF#000000##FFFFFF
##3063111.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#2D5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306311;
/* rgb */ color: rgb(48, 99, 17);
/* oklch */ color: oklch(44.7% 0.123 136.6);
Tailwind
colors: {
  custom: {
    50: '#6e9057',
    500: '#306311',
    950: '#000000',
  },
}
SCSS
$custom: #306311;
$custom-light: #6e9057;
$custom-dark: #000000;
JSON
{
  "hex": "#306311",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 97.317,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44705,
    "c": 0.12338,
    "h": 136.6
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#306311
secondary
#74349B
accent
#3AEDAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #306311

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

Preview Lab → · Contrast checker → · Palette generator →

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