#51841D#51841D

#51841D is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.7% C 0.142 H 132.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#51841D
RGBrgb(81, 132, 29)
HSLhsl(90, 64%, 32%)
HSVhsv(90, 78%, 52%)
CMYKcmyk(38.6%, 0%, 78%, 48.2%)
CIE-LABlab(49.91, -34.18, 46.72)
CIE-LCHlch(49.91, 57.89, 126.19°)
OKLaboklab(55.67% -0.0964 0.1041)
OKLCHoklch(55.67% 0.142 132.8)
XYZxyz(11.8662, 18.3400, 4.0769)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51841D #501D84
analogous
#84841D #51841D #1E841D
triadic
#51841D #1D5184 #841D51
tetradic
#51841D #1D8484 #501D84 #841D1E
square
#51841D #1D8484 #501D84 #841D1E
split-complementary
#51841D #1D1E84 #841D84
monochromatic
#132007 #325212 #51841D #70B628 #8ED645

Accessibility & contrast

On white

4.50
#51841D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#51841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51841D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51841D#FFFFFF#000000##000000
##51841D1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7905
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#527E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #51841d;
/* rgb */ color: rgb(81, 132, 29);
/* oklch */ color: oklch(55.7% 0.142 132.8);
Tailwind
colors: {
  custom: {
    50: '#87a861',
    500: '#51841d',
    950: '#000000',
  },
}
SCSS
$custom: #51841d;
$custom-light: #87a861;
$custom-dark: #000000;
JSON
{
  "hex": "#51841d",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 89.709,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.14183,
    "h": 132.8
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#51841D
secondary
#7E46B7
accent
#41E793
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #51841D

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

Preview Lab → · Contrast checker → · Palette generator →

#51841D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva