#51992A#51992A

#51992A is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.3% C 0.161 H 136.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#51992A
RGBrgb(81, 153, 42)
HSLhsl(99, 57%, 38%)
HSVhsv(99, 73%, 60%)
CMYKcmyk(47.1%, 0%, 72.5%, 40%)
CIE-LABlab(56.78, -42.30, 48.72)
CIE-LCHlch(56.78, 64.52, 130.96°)
OKLaboklab(61.33% -0.1174 0.1102)
OKLCHoklch(61.33% 0.161 136.8)
XYZxyz(15.2020, 24.6980, 6.1562)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51992A #722A99
analogous
#88992A #51992A #2A993A
triadic
#51992A #2A5199 #992A51
tetradic
#51992A #2A8899 #722A99 #993A2A
square
#51992A #2A8899 #722A99 #993A2A
split-complementary
#51992A #3A2A99 #992A88
monochromatic
#1E3910 #38691D #51992A #6BC838 #8ED668

Accessibility & contrast

On white

3.54
#51992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#51992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51992A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51992A#FFFFFF#000000##000000
##51992A1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C17
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#4D9383
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #51992a;
/* rgb */ color: rgb(81, 153, 42);
/* oklch */ color: oklch(61.3% 0.161 136.8);
Tailwind
colors: {
  custom: {
    50: '#88b76b',
    500: '#51992a',
    950: '#000000',
  },
}
SCSS
$custom: #51992a;
$custom-light: #88b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#51992a",
  "rgb": {
    "r": 81,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 98.919,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61328,
    "c": 0.161,
    "h": 136.8
  },
  "luminance": 0.24699
}

Semantic roles & 50–950 ramp

primary
#51992A
secondary
#9D63BC
accent
#48E0AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51992A

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

Preview Lab → · Contrast checker → · Palette generator →

#51992A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva