#306411#306411

#306411 is a dark, vivid yellow-green. Relative luminance 0.098; OKLCH L 45.0% C 0.125 H 136.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#306411
RGBrgb(48, 100, 17)
HSLhsl(98, 71%, 23%)
HSVhsv(98, 83%, 39%)
CMYKcmyk(52%, 0%, 83%, 60.8%)
CIE-LABlab(37.45, -32.67, 38.44)
CIE-LCHlch(37.45, 50.45, 130.36°)
OKLaboklab(44.99% -0.0908 0.0854)
OKLCHoklch(44.99% 0.125 136.8)
XYZxyz(5.8771, 9.7828, 2.1088)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306411 #451164
analogous
#596411 #306411 #11641B
triadic
#306411 #113064 #641130
tetradic
#306411 #115964 #451164 #641B11
square
#306411 #115964 #451164 #641B11
split-complementary
#306411 #1B1164 #641159
monochromatic
#0D1A04 #173008 #306411 #49981A #62CD23

Accessibility & contrast

On white

7.10
#306411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#306411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306411
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306411#FFFFFF#000000##FFFFFF
##3064111.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61571A
Tritanopia (blue-blind)
#2D6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306411;
/* rgb */ color: rgb(48, 100, 17);
/* oklch */ color: oklch(45.0% 0.125 136.8);
Tailwind
colors: {
  custom: {
    50: '#6e9157',
    500: '#306411',
    950: '#000000',
  },
}
SCSS
$custom: #306411;
$custom-light: #6e9157;
$custom-dark: #000000;
JSON
{
  "hex": "#306411",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 17
  },
  "hsl": {
    "h": 97.59,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44992,
    "c": 0.1247,
    "h": 136.8
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#306411
secondary
#76359C
accent
#3AEEAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #306411

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

Preview Lab → · Contrast checker → · Palette generator →

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