#388112#388112

#388112 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.6% C 0.157 H 137.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#388112
RGBrgb(56, 129, 18)
HSLhsl(99, 76%, 29%)
HSVhsv(99, 86%, 51%)
CMYKcmyk(56.6%, 0%, 86%, 49.4%)
CIE-LABlab(47.73, -41.93, 47.73)
CIE-LCHlch(47.73, 63.53, 131.30°)
OKLaboklab(53.56% -0.1162 0.1049)
OKLCHoklch(53.56% 0.157 137.9)
XYZxyz(9.5900, 16.5842, 3.2679)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388112 #5B1281
analogous
#708112 #388112 #128123
triadic
#388112 #123881 #811238
tetradic
#388112 #127081 #5B1281 #812312
square
#388112 #127081 #5B1281 #812312
split-complementary
#388112 #231281 #811270
monochromatic
#0C1B04 #214B0B #388112 #4FB719 #6AE22C

Accessibility & contrast

On white

4.86
#388112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#388112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388112
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388112#FFFFFF#000000##FFFFFF
##3881121.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#327C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #388112;
/* rgb */ color: rgb(56, 129, 18);
/* oklch */ color: oklch(53.6% 0.157 137.9);
Tailwind
colors: {
  custom: {
    50: '#78a65c',
    500: '#388112',
    950: '#000000',
  },
}
SCSS
$custom: #388112;
$custom-light: #78a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#388112",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 99.459,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.15655,
    "h": 137.9
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#388112
secondary
#8B38B7
accent
#36F2B2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #388112

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

Preview Lab → · Contrast checker → · Palette generator →

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