#306113#306113

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

Color values

HEX#306113
RGBrgb(48, 97, 19)
HSLhsl(98, 67%, 23%)
HSVhsv(98, 80%, 38%)
CMYKcmyk(50.5%, 0%, 80.4%, 62%)
CIE-LABlab(36.41, -31.23, 36.72)
CIE-LCHlch(36.41, 48.21, 130.38°)
OKLaboklab(44.14% -0.0868 0.0822)
OKLCHoklch(44.14% 0.12 136.6)
XYZxyz(5.6110, 9.2244, 2.1008)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306113 #441361
analogous
#576113 #306113 #13611D
triadic
#306113 #133061 #611330
tetradic
#306113 #135761 #441361 #611D13
square
#306113 #135761 #441361 #611D13
split-complementary
#306113 #1D1361 #611357
monochromatic
#0D1A05 #172E09 #306113 #49941D #63C727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306113#FFFFFF#000000##FFFFFF
##3061131.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)
#655803
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#2D5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306113;
/* rgb */ color: rgb(48, 97, 19);
/* oklch */ color: oklch(44.1% 0.120 136.6);
Tailwind
colors: {
  custom: {
    50: '#6e8e57',
    500: '#306113',
    950: '#000000',
  },
}
SCSS
$custom: #306113;
$custom-light: #6e8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#306113",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 19
  },
  "hsl": {
    "h": 97.692,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.11954,
    "h": 136.6
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#306113
secondary
#743799
accent
#3EEAAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #306113

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

Preview Lab → · Contrast checker → · Palette generator →

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