#388310#388310

#388310 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.1% C 0.160 H 137.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#388310
RGBrgb(56, 131, 16)
HSLhsl(99, 78%, 29%)
HSVhsv(99, 88%, 51%)
CMYKcmyk(57.3%, 0%, 87.8%, 48.6%)
CIE-LABlab(48.40, -42.80, 48.84)
CIE-LCHlch(48.40, 64.94, 131.23°)
OKLaboklab(54.11% -0.1186 0.107)
OKLCHoklch(54.11% 0.16 137.9)
XYZxyz(9.8404, 17.1100, 3.2741)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388310 #5B1083
analogous
#728310 #388310 #108321
triadic
#388310 #103883 #831038
tetradic
#388310 #107283 #5B1083 #832110
square
#388310 #107283 #5B1083 #832110
split-complementary
#388310 #211083 #831072
monochromatic
#0C1B03 #214C09 #388310 #4FBA17 #6AE529

Accessibility & contrast

On white

4.75
#388310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#388310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388310
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388310#FFFFFF#000000##FFFFFF
##3883101.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#327E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #388310;
/* rgb */ color: rgb(56, 131, 16);
/* oklch */ color: oklch(54.1% 0.160 137.9);
Tailwind
colors: {
  custom: {
    50: '#78a85c',
    500: '#388310',
    950: '#000000',
  },
}
SCSS
$custom: #388310;
$custom-light: #78a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#388310",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 99.13,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.15972,
    "h": 137.9
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

primary
#388310
secondary
#8B36B9
accent
#33F5B1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1004
muted
#7C7F79

Preview Lab

Preview with #388310

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

Preview Lab → · Contrast checker → · Palette generator →

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