#51941B#51941B

#51941B is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 59.9% C 0.163 H 135.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#51941B
RGBrgb(81, 148, 27)
HSLhsl(93, 69%, 34%)
HSVhsv(93, 82%, 58%)
CMYKcmyk(45.3%, 0%, 81.8%, 42%)
CIE-LABlab(55.08, -41.19, 52.24)
CIE-LCHlch(55.08, 66.53, 128.25°)
OKLaboklab(59.9% -0.1154 0.1153)
OKLCHoklch(59.9% 0.163 135)
XYZxyz(14.1808, 23.0074, 4.7304)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51941B #5E1B94
analogous
#8E941B #51941B #1B9421
triadic
#51941B #1B5194 #941B51
tetradic
#51941B #1B8E94 #5E1B94 #94211B
square
#51941B #1B8E94 #5E1B94 #94211B
split-complementary
#51941B #211B94 #941B8E
monochromatic
#182C08 #356012 #51941B #6DC824 #8DDE4B

Accessibility & contrast

On white

3.75
#51941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#51941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51941B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51941B#FFFFFF#000000##000000
##51941B1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#4F8E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #51941b;
/* rgb */ color: rgb(81, 148, 27);
/* oklch */ color: oklch(59.9% 0.163 135.0);
Tailwind
colors: {
  custom: {
    50: '#88b463',
    500: '#51941b',
    950: '#000000',
  },
}
SCSS
$custom: #51941b;
$custom-light: #88b463;
$custom-dark: #000000;
JSON
{
  "hex": "#51941b",
  "rgb": {
    "r": 81,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 93.223,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59904,
    "c": 0.16314,
    "h": 135
  },
  "luminance": 0.23008
}

Semantic roles & 50–950 ramp

primary
#51941B
secondary
#8C4BC0
accent
#3CEC9D
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51941B

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

Preview Lab → · Contrast checker → · Palette generator →

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