#388011#388011

#388011 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.3% C 0.156 H 137.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#388011
RGBrgb(56, 128, 17)
HSLhsl(99, 77%, 28%)
HSVhsv(99, 87%, 50%)
CMYKcmyk(56.3%, 0%, 86.7%, 49.8%)
CIE-LABlab(47.39, -41.59, 47.69)
CIE-LCHlch(47.39, 63.28, 131.09°)
OKLaboklab(53.27% -0.1153 0.1047)
OKLCHoklch(53.27% 0.156 137.8)
XYZxyz(9.4509, 16.3188, 3.1820)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388011 #591180
analogous
#6F8011 #388011 #118021
triadic
#388011 #113880 #801138
tetradic
#388011 #116F80 #591180 #802111
square
#388011 #116F80 #591180 #802111
split-complementary
#388011 #211180 #80116F
monochromatic
#0C1B04 #204A0A #388011 #50B618 #6AE329

Accessibility & contrast

On white

4.92
#388011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#388011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388011
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388011#FFFFFF#000000##FFFFFF
##3880111.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#327B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #388011;
/* rgb */ color: rgb(56, 128, 17);
/* oklch */ color: oklch(53.3% 0.156 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a55b',
    500: '#388011',
    950: '#000000',
  },
}
SCSS
$custom: #388011;
$custom-light: #78a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#388011",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 98.919,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53274,
    "c": 0.15576,
    "h": 137.8
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#388011
secondary
#8937B6
accent
#35F3B0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #388011

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

Preview Lab → · Contrast checker → · Palette generator →

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