#5C7010#5C7010

#5C7010 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.1% C 0.117 H 121.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5C7010
RGBrgb(92, 112, 16)
HSLhsl(73, 75%, 25%)
HSVhsv(73, 86%, 44%)
CMYKcmyk(17.9%, 0%, 85.7%, 56.1%)
CIE-LABlab(44.09, -20.62, 45.79)
CIE-LCHlch(44.09, 50.22, 114.24°)
OKLaboklab(51.1% -0.0612 0.0996)
OKLCHoklch(51.1% 0.117 121.6)
XYZxyz(10.3015, 13.9011, 2.6306)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7010 #241070
analogous
#705410 #5C7010 #2C7010
triadic
#5C7010 #105C70 #70105C
tetradic
#5C7010 #107054 #241070 #70102C
square
#5C7010 #107054 #241070 #70102C
split-complementary
#5C7010 #102C70 #541070
monochromatic
#161B04 #303A08 #5C7010 #88A618 #B4DB1F

Accessibility & contrast

On white

5.56
#5C7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5C7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7010
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7010#FFFFFF#000000##FFFFFF
##5C70101.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#75681B
Tritanopia (blue-blind)
#626A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c7010;
/* rgb */ color: rgb(92, 112, 16);
/* oklch */ color: oklch(51.1% 0.117 121.6);
Tailwind
colors: {
  custom: {
    50: '#8d9959',
    500: '#5c7010',
    950: '#000000',
  },
}
SCSS
$custom: #5c7010;
$custom-light: #8d9959;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7010",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 72.5,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.11689,
    "h": 121.6
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#5C7010
secondary
#4C34A8
accent
#36F25D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C7010

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

Preview Lab → · Contrast checker → · Palette generator →

#5C7010 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva