#387211#387211

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

Color values

HEX#387211
RGBrgb(56, 114, 17)
HSLhsl(96, 74%, 26%)
HSVhsv(96, 85%, 45%)
CMYKcmyk(50.9%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.64, -35.93, 43.39)
CIE-LCHlch(42.64, 56.34, 129.62°)
OKLaboklab(49.36% -0.1002 0.0957)
OKLCHoklch(49.36% 0.139 136.3)
XYZxyz(7.7492, 12.9153, 2.6148)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387211 #4B1172
analogous
#687211 #387211 #11721A
triadic
#387211 #113872 #721138
tetradic
#387211 #116872 #4B1172 #721A11
square
#387211 #116872 #4B1172 #721A11
split-complementary
#387211 #1A1172 #721168
monochromatic
#0D1B04 #1E3D09 #387211 #52A719 #6CDD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387211#FFFFFF#000000##FFFFFF
##3872111.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)
#6F631D
Tritanopia (blue-blind)
#356D60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387211;
/* rgb */ color: rgb(56, 114, 17);
/* oklch */ color: oklch(49.4% 0.139 136.3);
Tailwind
colors: {
  custom: {
    50: '#759b59',
    500: '#387211',
    950: '#000000',
  },
}
SCSS
$custom: #387211;
$custom-light: #759b59;
$custom-dark: #000000;
JSON
{
  "hex": "#387211",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 95.876,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.1385,
    "h": 136.3
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#387211
secondary
#7B36A9
accent
#37F1A6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387211

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

Preview Lab → · Contrast checker → · Palette generator →

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