#306114#306114

#306114 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.2% C 0.119 H 136.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#306114
RGBrgb(48, 97, 20)
HSLhsl(98, 66%, 23%)
HSVhsv(98, 79%, 38%)
CMYKcmyk(50.5%, 0%, 79.4%, 62%)
CIE-LABlab(36.42, -31.16, 36.35)
CIE-LCHlch(36.42, 47.88, 130.60°)
OKLaboklab(44.15% -0.0866 0.0815)
OKLCHoklch(44.15% 0.119 136.7)
XYZxyz(5.6197, 9.2279, 2.1467)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306114 #451461
analogous
#566114 #306114 #14611E
triadic
#306114 #143061 #611430
tetradic
#306114 #145661 #451461 #611E14
square
#306114 #145661 #451461 #611E14
split-complementary
#306114 #1E1461 #611456
monochromatic
#0D1905 #172E0A #306114 #49941E #62C629

Accessibility & contrast

On white

7.38
#306114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#306114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306114
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306114#FFFFFF#000000##FFFFFF
##3061141.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655805
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#2D5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306114;
/* rgb */ color: rgb(48, 97, 20);
/* oklch */ color: oklch(44.2% 0.119 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e8e58',
    500: '#306114',
    950: '#000000',
  },
}
SCSS
$custom: #306114;
$custom-light: #6e8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#306114",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 20
  },
  "hsl": {
    "h": 98.182,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.11891,
    "h": 136.7
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#306114
secondary
#763898
accent
#3FE9AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #306114

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

Preview Lab → · Contrast checker → · Palette generator →

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