#387412#387412

#387412 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 49.9% C 0.141 H 136.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#387412
RGBrgb(56, 116, 18)
HSLhsl(97, 73%, 26%)
HSVhsv(97, 84%, 45%)
CMYKcmyk(51.7%, 0%, 84.5%, 54.5%)
CIE-LABlab(43.32, -36.71, 43.72)
CIE-LCHlch(43.32, 57.09, 130.02°)
OKLaboklab(49.92% -0.1022 0.0965)
OKLCHoklch(49.92% 0.141 136.6)
XYZxyz(7.9852, 13.3746, 2.7329)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387412 #4E1274
analogous
#697412 #387412 #12741D
triadic
#387412 #123874 #741238
tetradic
#387412 #126974 #4E1274 #741D12
square
#387412 #126974 #4E1274 #741D12
split-complementary
#387412 #1D1274 #741269
monochromatic
#0D1A04 #1E3F0A #387412 #52A91A #6BDD23

Accessibility & contrast

On white

5.71
#387412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#387412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387412
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387412#FFFFFF#000000##FFFFFF
##3874121.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#70651E
Tritanopia (blue-blind)
#356F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #387412;
/* rgb */ color: rgb(56, 116, 18);
/* oklch */ color: oklch(49.9% 0.141 136.6);
Tailwind
colors: {
  custom: {
    50: '#769c5a',
    500: '#387412',
    950: '#000000',
  },
}
SCSS
$custom: #387412;
$custom-light: #769c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#387412",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 96.735,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49923,
    "c": 0.14057,
    "h": 136.6
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#387412
secondary
#7E37AB
accent
#38F0A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387412

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

Preview Lab → · Contrast checker → · Palette generator →

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