#387213#387213

#387213 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.4% C 0.138 H 136.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#387213
RGBrgb(56, 114, 19)
HSLhsl(97, 71%, 26%)
HSVhsv(97, 83%, 45%)
CMYKcmyk(50.9%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.65, -35.82, 42.78)
CIE-LCHlch(42.65, 55.80, 129.94°)
OKLaboklab(49.37% -0.0997 0.0947)
OKLCHoklch(49.37% 0.138 136.5)
XYZxyz(7.7655, 12.9219, 2.7009)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387213 #4D1372
analogous
#677213 #387213 #13721D
triadic
#387213 #133872 #721338
tetradic
#387213 #136772 #4D1372 #721D13
square
#387213 #136772 #4D1372 #721D13
split-complementary
#387213 #1D1372 #721367
monochromatic
#0D1A04 #1E3E0A #387213 #52A61C #6CDB25

Accessibility & contrast

On white

5.86
#387213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#387213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387213
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387213#FFFFFF#000000##FFFFFF
##3872131.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#356E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387213;
/* rgb */ color: rgb(56, 114, 19);
/* oklch */ color: oklch(49.4% 0.138 136.5);
Tailwind
colors: {
  custom: {
    50: '#759b5a',
    500: '#387213',
    950: '#000000',
  },
}
SCSS
$custom: #387213;
$custom-light: #759b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#387213",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 96.632,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.13754,
    "h": 136.5
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#387213
secondary
#7D38A9
accent
#3AEEA8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387213

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

Preview Lab → · Contrast checker → · Palette generator →

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