#388012#388012

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

Color values

HEX#388012
RGBrgb(56, 128, 18)
HSLhsl(99, 75%, 29%)
HSVhsv(99, 86%, 50%)
CMYKcmyk(56.3%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.39, -41.54, 47.42)
CIE-LCHlch(47.39, 63.05, 131.22°)
OKLaboklab(53.28% -0.1151 0.1043)
OKLCHoklch(53.28% 0.155 137.8)
XYZxyz(9.4589, 16.3220, 3.2242)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388012 #5A1280
analogous
#6F8012 #388012 #128023
triadic
#388012 #123880 #801238
tetradic
#388012 #126F80 #5A1280 #802312
square
#388012 #126F80 #5A1280 #802312
split-complementary
#388012 #231280 #80126F
monochromatic
#0C1B04 #214A0A #388012 #4FB61A #6AE12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388012#FFFFFF#000000##FFFFFF
##3880121.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: #388012;
/* rgb */ color: rgb(56, 128, 18);
/* oklch */ color: oklch(53.3% 0.155 137.8);
Tailwind
colors: {
  custom: {
    50: '#77a55c',
    500: '#388012',
    950: '#000000',
  },
}
SCSS
$custom: #388012;
$custom-light: #77a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#388012",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 99.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53279,
    "c": 0.15536,
    "h": 137.8
  },
  "luminance": 0.16323
}

Semantic roles & 50–950 ramp

primary
#388012
secondary
#8A38B6
accent
#36F2B1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #388012

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

Preview Lab → · Contrast checker → · Palette generator →

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