#51921B#51921B

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

Color values

HEX#51921B
RGBrgb(81, 146, 27)
HSLhsl(93, 69%, 34%)
HSVhsv(93, 82%, 57%)
CMYKcmyk(44.5%, 0%, 81.5%, 42.7%)
CIE-LABlab(54.43, -40.36, 51.65)
CIE-LCHlch(54.43, 65.54, 128.00°)
OKLaboklab(59.37% -0.1131 0.1141)
OKLCHoklch(59.37% 0.161 134.8)
XYZxyz(13.8698, 22.3854, 4.6267)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51921B #5C1B92
analogous
#8D921B #51921B #1B9221
triadic
#51921B #1B5192 #921B51
tetradic
#51921B #1B8D92 #5C1B92 #92211B
square
#51921B #1B8D92 #5C1B92 #92211B
split-complementary
#51921B #211B92 #921B8D
monochromatic
#182B08 #345E11 #51921B #6EC625 #8DDE4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51921B#FFFFFF#000000##000000
##51921B1.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)
#8F8029
Tritanopia (blue-blind)
#508C7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #51921b;
/* rgb */ color: rgb(81, 146, 27);
/* oklch */ color: oklch(59.4% 0.161 134.8);
Tailwind
colors: {
  custom: {
    50: '#88b263',
    500: '#51921b',
    950: '#000000',
  },
}
SCSS
$custom: #51921b;
$custom-light: #88b263;
$custom-dark: #000000;
JSON
{
  "hex": "#51921b",
  "rgb": {
    "r": 81,
    "g": 146,
    "b": 27
  },
  "hsl": {
    "h": 92.773,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59374,
    "c": 0.16066,
    "h": 134.8
  },
  "luminance": 0.22386
}

Semantic roles & 50–950 ramp

primary
#51921B
secondary
#8A49BF
accent
#3CEC9C
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51921B

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

Preview Lab → · Contrast checker → · Palette generator →

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