#51921E#51921E

#51921E is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.4% C 0.159 H 135.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#51921E
RGBrgb(81, 146, 30)
HSLhsl(94, 66%, 35%)
HSVhsv(94, 79%, 57%)
CMYKcmyk(44.5%, 0%, 79.5%, 42.7%)
CIE-LABlab(54.45, -40.19, 50.72)
CIE-LCHlch(54.45, 64.71, 128.39°)
OKLaboklab(59.39% -0.1125 0.1126)
OKLCHoklch(59.39% 0.159 135)
XYZxyz(13.9063, 22.4000, 4.8189)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51921E #5F1E92
analogous
#8B921E #51921E #1E9225
triadic
#51921E #1E5192 #921E51
tetradic
#51921E #1E8B92 #5F1E92 #92251E
square
#51921E #1E8B92 #5F1E92 #92251E
split-complementary
#51921E #251E92 #921E8B
monochromatic
#192C09 #355F14 #51921E #6DC528 #8DDB4F

Accessibility & contrast

On white

3.83
#51921E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#51921E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51921E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51921E#FFFFFF#000000##000000
##51921E1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#4F8C7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #51921e;
/* rgb */ color: rgb(81, 146, 30);
/* oklch */ color: oklch(59.4% 0.159 135.0);
Tailwind
colors: {
  custom: {
    50: '#88b264',
    500: '#51921e',
    950: '#000000',
  },
}
SCSS
$custom: #51921e;
$custom-light: #88b264;
$custom-dark: #000000;
JSON
{
  "hex": "#51921e",
  "rgb": {
    "r": 81,
    "g": 146,
    "b": 30
  },
  "hsl": {
    "h": 93.621,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.15917,
    "h": 135
  },
  "luminance": 0.22401
}

Semantic roles & 50–950 ramp

primary
#51921E
secondary
#8D4EBE
accent
#3FE99E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51921E

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

Preview Lab → · Contrast checker → · Palette generator →

#51921E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva