#388110#388110

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

Color values

HEX#388110
RGBrgb(56, 129, 16)
HSLhsl(99, 78%, 28%)
HSVhsv(99, 88%, 51%)
CMYKcmyk(56.6%, 0%, 87.6%, 49.4%)
CIE-LABlab(47.72, -42.03, 48.24)
CIE-LCHlch(47.72, 63.98, 131.06°)
OKLaboklab(53.55% -0.1165 0.1057)
OKLCHoklch(53.55% 0.157 137.8)
XYZxyz(9.5743, 16.5779, 3.1854)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388110 #591081
analogous
#708110 #388110 #108120
triadic
#388110 #103881 #811038
tetradic
#388110 #107081 #591081 #812010
square
#388110 #107081 #591081 #812010
split-complementary
#388110 #201081 #811070
monochromatic
#0C1B03 #204B09 #388110 #50B717 #6AE427

Accessibility & contrast

On white

4.87
#388110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #388110
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388110#FFFFFF#000000##FFFFFF
##3881101.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #388110;
/* rgb */ color: rgb(56, 129, 16);
/* oklch */ color: oklch(53.5% 0.157 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a65b',
    500: '#388110',
    950: '#000000',
  },
}
SCSS
$custom: #388110;
$custom-light: #78a65b;
$custom-dark: #000000;
JSON
{
  "hex": "#388110",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 98.761,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53548,
    "c": 0.15735,
    "h": 137.8
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#388110
secondary
#8936B7
accent
#33F4B0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #388110

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

Preview Lab → · Contrast checker → · Palette generator →

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