#78A231#78A231

#78A231 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.9% C 0.148 H 127.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#78A231
RGBrgb(120, 162, 49)
HSLhsl(82, 54%, 41%)
HSVhsv(82, 70%, 64%)
CMYKcmyk(25.9%, 0%, 69.8%, 36.5%)
CIE-LABlab(61.70, -31.60, 51.66)
CIE-LCHlch(61.70, 60.56, 121.45°)
OKLaboklab(65.91% -0.0902 0.1167)
OKLCHoklch(65.91% 0.148 127.7)
XYZxyz(21.2204, 30.0550, 7.5883)
Luminance0.3005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A231 #5B31A2
analogous
#A29431 #78A231 #40A231
triadic
#78A231 #3178A2 #A23178
tetradic
#78A231 #31A294 #5B31A2 #A23140
square
#78A231 #31A294 #5B31A2 #A23140
split-complementary
#78A231 #3140A2 #9431A2
monochromatic
#324415 #557323 #78A231 #98C848 #B3D677

Accessibility & contrast

On white

3.00
#78A231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#78A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A231
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A231#FFFFFF#000000##000000
##78A2311.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9720
Deuteranopia (green-blind)
#A4943B
Tritanopia (blue-blind)
#7C9B8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #78a231;
/* rgb */ color: rgb(120, 162, 49);
/* oklch */ color: oklch(65.9% 0.148 127.7);
Tailwind
colors: {
  custom: {
    50: '#a2bd70',
    500: '#78a231',
    950: '#000000',
  },
}
SCSS
$custom: #78a231;
$custom-light: #a2bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#78a231",
  "rgb": {
    "r": 120,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 82.301,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65911,
    "c": 0.14754,
    "h": 127.7
  },
  "luminance": 0.30055
}

Semantic roles & 50–950 ramp

primary
#78A231
secondary
#8D71BE
accent
#4BDD81
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #78A231

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

Preview Lab → · Contrast checker → · Palette generator →

#78A231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva