#537817#537817

#537817 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.6% C 0.128 H 128.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#537817
RGBrgb(83, 120, 23)
HSLhsl(83, 68%, 28%)
HSVhsv(83, 81%, 47%)
CMYKcmyk(30.8%, 0%, 80.8%, 52.9%)
CIE-LABlab(46.09, -28.18, 45.20)
CIE-LCHlch(46.09, 53.26, 121.94°)
OKLaboklab(52.57% -0.0807 0.0998)
OKLCHoklch(52.57% 0.128 128.9)
XYZxyz(10.4384, 15.3335, 3.2201)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#537817 #3C1778
analogous
#786C17 #537817 #227817
triadic
#537817 #175378 #781753
tetradic
#537817 #17786C #3C1778 #781722
square
#537817 #17786C #3C1778 #781722
split-complementary
#537817 #172278 #6C1778
monochromatic
#121A05 #2F450D #537817 #77AB21 #98D832

Accessibility & contrast

On white

5.16
#537817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#537817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #537817
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##537817#FFFFFF#000000##FFFFFF
##5378171.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#567266
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #537817;
/* rgb */ color: rgb(83, 120, 23);
/* oklch */ color: oklch(52.6% 0.128 128.9);
Tailwind
colors: {
  custom: {
    50: '#879f5d',
    500: '#537817',
    950: '#000000',
  },
}
SCSS
$custom: #537817;
$custom-light: #879f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#537817",
  "rgb": {
    "r": 83,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 82.887,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.12837,
    "h": 128.9
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#537817
secondary
#683EAD
accent
#3DEB7F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #537817

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

Preview Lab → · Contrast checker → · Palette generator →

#537817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva