#51741D#51741D

#51741D is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.120 H 129.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#51741D
RGBrgb(81, 116, 29)
HSLhsl(84, 60%, 28%)
HSVhsv(84, 75%, 45%)
CMYKcmyk(30.2%, 0%, 75%, 54.5%)
CIE-LABlab(44.70, -26.70, 41.62)
CIE-LCHlch(44.70, 49.45, 122.68°)
OKLaboklab(51.43% -0.0761 0.0934)
OKLCHoklch(51.43% 0.12 129.2)
XYZxyz(9.8605, 14.3286, 3.4083)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51741D #401D74
analogous
#746B1D #51741D #25741D
triadic
#51741D #1D5174 #741D51
tetradic
#51741D #1D746B #401D74 #741D25
square
#51741D #1D746B #401D74 #741D25
split-complementary
#51741D #1D2574 #6B1D74
monochromatic
#111806 #2F4311 #51741D #73A529 #94CE3D

Accessibility & contrast

On white

5.43
#51741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#51741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51741D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51741D#FFFFFF#000000##FFFFFF
##51741D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0D
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#546F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #51741d;
/* rgb */ color: rgb(81, 116, 29);
/* oklch */ color: oklch(51.4% 0.120 129.2);
Tailwind
colors: {
  custom: {
    50: '#859c5f',
    500: '#51741d',
    950: '#000000',
  },
}
SCSS
$custom: #51741d;
$custom-light: #859c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#51741d",
  "rgb": {
    "r": 81,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 84.138,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.12045,
    "h": 129.2
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#51741D
secondary
#6D45A8
accent
#45E384
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51741D

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

Preview Lab → · Contrast checker → · Palette generator →

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