#51701E#51701E

#51701E is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.114 H 128.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#51701E
RGBrgb(81, 112, 30)
HSLhsl(83, 58%, 28%)
HSVhsv(83, 73%, 44%)
CMYKcmyk(27.7%, 0%, 73.2%, 56.1%)
CIE-LABlab(43.41, -24.66, 39.92)
CIE-LCHlch(43.41, 46.92, 121.70°)
OKLaboklab(50.38% -0.0704 0.09)
OKLCHoklch(50.38% 0.114 128)
XYZxyz(9.4218, 13.4312, 3.3241)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51701E #3D1E70
analogous
#70661E #51701E #28701E
triadic
#51701E #1E5170 #701E51
tetradic
#51701E #1E7066 #3D1E70 #701E28
square
#51701E #1E7066 #3D1E70 #701E28
split-complementary
#51701E #1E2870 #661E70
monochromatic
#111806 #2E4011 #51701E #74A02B #95CB3D

Accessibility & contrast

On white

5.70
#51701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#51701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51701E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51701E#FFFFFF#000000##FFFFFF
##51701E1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766811
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#546B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #51701e;
/* rgb */ color: rgb(81, 112, 30);
/* oklch */ color: oklch(50.4% 0.114 128.0);
Tailwind
colors: {
  custom: {
    50: '#85995f',
    500: '#51701e',
    950: '#000000',
  },
}
SCSS
$custom: #51701e;
$custom-light: #85995f;
$custom-dark: #000000;
JSON
{
  "hex": "#51701e",
  "rgb": {
    "r": 81,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 82.683,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50375,
    "c": 0.11424,
    "h": 128
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#51701E
secondary
#6946A4
accent
#47E181
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51701E

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

Preview Lab → · Contrast checker → · Palette generator →

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