#387515#387515

#387515 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.2% C 0.140 H 137.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#387515
RGBrgb(56, 117, 21)
HSLhsl(98, 70%, 27%)
HSVhsv(98, 82%, 46%)
CMYKcmyk(52.1%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.68, -36.96, 43.10)
CIE-LCHlch(43.68, 56.78, 130.61°)
OKLaboklab(50.22% -0.1027 0.0957)
OKLCHoklch(50.22% 0.14 137)
XYZxyz(8.1273, 13.6169, 2.9094)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387515 #521575
analogous
#687515 #387515 #157522
triadic
#387515 #153875 #751538
tetradic
#387515 #156875 #521575 #752215
square
#387515 #156875 #521575 #752215
split-complementary
#387515 #221575 #751568
monochromatic
#0C1A05 #1F410C #387515 #51A91E #6BD92B

Accessibility & contrast

On white

5.64
#387515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#387515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387515
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387515#FFFFFF#000000##FFFFFF
##3875151.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#347163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #387515;
/* rgb */ color: rgb(56, 117, 21);
/* oklch */ color: oklch(50.2% 0.140 137.0);
Tailwind
colors: {
  custom: {
    50: '#769d5b',
    500: '#387515',
    950: '#000000',
  },
}
SCSS
$custom: #387515;
$custom-light: #769d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#387515",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 98.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.14034,
    "h": 137
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#387515
secondary
#823BAB
accent
#3BECAC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387515

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

Preview Lab → · Contrast checker → · Palette generator →

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