#51921F#51921F

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

Color values

HEX#51921F
RGBrgb(81, 146, 31)
HSLhsl(94, 65%, 35%)
HSVhsv(94, 79%, 57%)
CMYKcmyk(44.5%, 0%, 78.8%, 42.7%)
CIE-LABlab(54.45, -40.13, 50.40)
CIE-LCHlch(54.45, 64.42, 128.53°)
OKLaboklab(59.4% -0.1123 0.1121)
OKLCHoklch(59.4% 0.159 135.1)
XYZxyz(13.9192, 22.4052, 4.8873)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51921F #601F92
analogous
#8B921F #51921F #1F9226
triadic
#51921F #1F5192 #921F51
tetradic
#51921F #1F8B92 #601F92 #92261F
square
#51921F #1F8B92 #601F92 #92261F
split-complementary
#51921F #261F92 #921F8B
monochromatic
#192D0A #356014 #51921F #6DC42A #8DDA51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51921F#FFFFFF#000000##000000
##51921F1.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)
#988601
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#4F8C7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #51921f;
/* rgb */ color: rgb(81, 146, 31);
/* oklch */ color: oklch(59.4% 0.159 135.1);
Tailwind
colors: {
  custom: {
    50: '#88b264',
    500: '#51921f',
    950: '#000000',
  },
}
SCSS
$custom: #51921f;
$custom-light: #88b264;
$custom-dark: #000000;
JSON
{
  "hex": "#51921f",
  "rgb": {
    "r": 81,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 93.913,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59398,
    "c": 0.15865,
    "h": 135.1
  },
  "luminance": 0.22406
}

Semantic roles & 50–950 ramp

primary
#51921F
secondary
#8E50BD
accent
#40E89F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51921F

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

Preview Lab → · Contrast checker → · Palette generator →

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