#306213#306213

#306213 is a dark, vivid yellow-green. Relative luminance 0.094; OKLCH L 44.4% C 0.121 H 136.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#306213
RGBrgb(48, 98, 19)
HSLhsl(98, 68%, 23%)
HSVhsv(98, 81%, 38%)
CMYKcmyk(51%, 0%, 80.6%, 61.6%)
CIE-LABlab(36.76, -31.67, 37.07)
CIE-LCHlch(36.76, 48.75, 130.51°)
OKLaboklab(44.43% -0.088 0.0829)
OKLCHoklch(44.43% 0.121 136.7)
XYZxyz(5.7040, 9.4104, 2.1318)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306213 #451362
analogous
#576213 #306213 #13621E
triadic
#306213 #133062 #621330
tetradic
#306213 #135762 #451362 #621E13
square
#306213 #135762 #451362 #621E13
split-complementary
#306213 #1E1362 #621357
monochromatic
#0D1A05 #172F09 #306213 #49951D #62C927

Accessibility & contrast

On white

7.29
#306213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#306213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306213
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306213#FFFFFF#000000##FFFFFF
##3062131.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665903
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#2D5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306213;
/* rgb */ color: rgb(48, 98, 19);
/* oklch */ color: oklch(44.4% 0.121 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e8f57',
    500: '#306213',
    950: '#000000',
  },
}
SCSS
$custom: #306213;
$custom-light: #6e8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#306213",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 97.975,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.12089,
    "h": 136.7
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#306213
secondary
#76379A
accent
#3DEAAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #306213

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

Preview Lab → · Contrast checker → · Palette generator →

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