#378012#378012

#378012 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.2% C 0.156 H 138.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#378012
RGBrgb(55, 128, 18)
HSLhsl(100, 75%, 29%)
HSVhsv(100, 86%, 50%)
CMYKcmyk(57%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.36, -41.84, 47.38)
CIE-LCHlch(47.36, 63.21, 131.45°)
OKLaboklab(53.24% -0.1159 0.1042)
OKLCHoklch(53.24% 0.156 138)
XYZxyz(9.4036, 16.2935, 3.2216)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#378012 #5B1280
analogous
#6E8012 #378012 #128024
triadic
#378012 #123780 #801237
tetradic
#378012 #126E80 #5B1280 #802412
square
#378012 #126E80 #5B1280 #802412
split-complementary
#378012 #241280 #80126E
monochromatic
#0C1B04 #204A0A #378012 #4EB61A #68E12B

Accessibility & contrast

On white

4.93
#378012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#378012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #378012
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##378012#FFFFFF#000000##FFFFFF
##3780121.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#317B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #378012;
/* rgb */ color: rgb(55, 128, 18);
/* oklch */ color: oklch(53.2% 0.156 138.0);
Tailwind
colors: {
  custom: {
    50: '#77a55c',
    500: '#378012',
    950: '#000000',
  },
}
SCSS
$custom: #378012;
$custom-light: #77a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#378012",
  "rgb": {
    "r": 55,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 99.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.15583,
    "h": 138
  },
  "luminance": 0.16294
}

Semantic roles & 50–950 ramp

primary
#378012
secondary
#8B38B6
accent
#36F2B3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #378012

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

Preview Lab → · Contrast checker → · Palette generator →

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