#51741E#51741E

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

Color values

HEX#51741E
RGBrgb(81, 116, 30)
HSLhsl(84, 59%, 29%)
HSVhsv(84, 74%, 45%)
CMYKcmyk(30.2%, 0%, 74.1%, 54.5%)
CIE-LABlab(44.71, -26.63, 41.23)
CIE-LCHlch(44.71, 49.08, 122.86°)
OKLaboklab(51.43% -0.0758 0.0927)
OKLCHoklch(51.43% 0.12 129.3)
XYZxyz(9.8730, 14.3336, 3.4745)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51741E #411E74
analogous
#746C1E #51741E #26741E
triadic
#51741E #1E5174 #741E51
tetradic
#51741E #1E746C #411E74 #741E26
square
#51741E #1E746C #411E74 #741E26
split-complementary
#51741E #1E2674 #6C1E74
monochromatic
#111806 #2F4311 #51741E #73A52B #93CD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51741E#FFFFFF#000000##FFFFFF
##51741E1.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)
#7A6B0F
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#546F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #51741e;
/* rgb */ color: rgb(81, 116, 30);
/* oklch */ color: oklch(51.4% 0.120 129.3);
Tailwind
colors: {
  custom: {
    50: '#859c60',
    500: '#51741e',
    950: '#000000',
  },
}
SCSS
$custom: #51741e;
$custom-light: #859c60;
$custom-dark: #000000;
JSON
{
  "hex": "#51741e",
  "rgb": {
    "r": 81,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 84.419,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.11977,
    "h": 129.3
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#51741E
secondary
#6E46A8
accent
#46E285
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51741E

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

Preview Lab → · Contrast checker → · Palette generator →

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