#387310#387310

#387310 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.6% C 0.140 H 136.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#387310
RGBrgb(56, 115, 16)
HSLhsl(96, 76%, 26%)
HSVhsv(96, 86%, 45%)
CMYKcmyk(51.3%, 0%, 86.1%, 54.9%)
CIE-LABlab(42.97, -36.40, 43.99)
CIE-LCHlch(42.97, 57.10, 129.60°)
OKLaboklab(49.63% -0.1015 0.0968)
OKLCHoklch(49.63% 0.14 136.4)
XYZxyz(7.8549, 13.1391, 2.6123)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387310 #4B1073
analogous
#697310 #387310 #10731A
triadic
#387310 #103873 #731038
tetradic
#387310 #106973 #4B1073 #731A10
square
#387310 #106973 #4B1073 #731A10
split-complementary
#387310 #1A1073 #731069
monochromatic
#0D1B04 #1E3D09 #387310 #52A917 #6CDE1F

Accessibility & contrast

On white

5.79
#387310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#387310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387310
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387310#FFFFFF#000000##FFFFFF
##3873101.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#356E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387310;
/* rgb */ color: rgb(56, 115, 16);
/* oklch */ color: oklch(49.6% 0.140 136.4);
Tailwind
colors: {
  custom: {
    50: '#759c59',
    500: '#387310',
    950: '#000000',
  },
}
SCSS
$custom: #387310;
$custom-light: #759c59;
$custom-dark: #000000;
JSON
{
  "hex": "#387310",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 95.758,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.14022,
    "h": 136.4
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#387310
secondary
#7B34AA
accent
#36F2A6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387310

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

Preview Lab → · Contrast checker → · Palette generator →

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