#387311#387311

#387311 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#387311
RGBrgb(56, 115, 17)
HSLhsl(96, 74%, 26%)
HSVhsv(96, 85%, 45%)
CMYKcmyk(51.3%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.98, -36.35, 43.71)
CIE-LCHlch(42.98, 56.84, 129.75°)
OKLaboklab(49.64% -0.1013 0.0963)
OKLCHoklch(49.64% 0.14 136.4)
XYZxyz(7.8626, 13.1421, 2.6526)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387311 #4C1173
analogous
#697311 #387311 #11731B
triadic
#387311 #113873 #731138
tetradic
#387311 #116973 #4C1173 #731B11
square
#387311 #116973 #4C1173 #731B11
split-complementary
#387311 #1B1173 #731169
monochromatic
#0D1B04 #1E3E09 #387311 #52A819 #6CDE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387311#FFFFFF#000000##FFFFFF
##3873111.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)
#776900
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#356E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387311;
/* rgb */ color: rgb(56, 115, 17);
/* oklch */ color: oklch(49.6% 0.140 136.4);
Tailwind
colors: {
  custom: {
    50: '#759c59',
    500: '#387311',
    950: '#000000',
  },
}
SCSS
$custom: #387311;
$custom-light: #759c59;
$custom-dark: #000000;
JSON
{
  "hex": "#387311",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 96.122,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49637,
    "c": 0.13977,
    "h": 136.4
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#387311
secondary
#7C36AA
accent
#37F1A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387311

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

Preview Lab → · Contrast checker → · Palette generator →

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