#538227#538227

#538227 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.131 H 132.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#538227
RGBrgb(83, 130, 39)
HSLhsl(91, 54%, 33%)
HSVhsv(91, 70%, 51%)
CMYKcmyk(36.2%, 0%, 70%, 49%)
CIE-LABlab(49.44, -31.81, 42.38)
CIE-LCHlch(49.44, 52.99, 126.88°)
OKLaboklab(55.34% -0.0892 0.0965)
OKLCHoklch(55.34% 0.131 132.8)
XYZxyz(11.9159, 17.9503, 4.7560)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538227 #562782
analogous
#808227 #538227 #278228
triadic
#538227 #275382 #822753
tetradic
#538227 #278082 #562782 #822827
square
#538227 #278082 #562782 #822827
split-complementary
#538227 #282782 #822780
monochromatic
#17240B #355319 #538227 #71B135 #90CD57

Accessibility & contrast

On white

4.57
#538227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#538227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538227
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538227#FFFFFF#000000##000000
##5382271.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781A
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#547D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538227;
/* rgb */ color: rgb(83, 130, 39);
/* oklch */ color: oklch(55.3% 0.131 132.8);
Tailwind
colors: {
  custom: {
    50: '#87a666',
    500: '#538227',
    950: '#000000',
  },
}
SCSS
$custom: #538227;
$custom-light: #87a666;
$custom-dark: #000000;
JSON
{
  "hex": "#538227",
  "rgb": {
    "r": 83,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 90.989,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.13143,
    "h": 132.8
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#538227
secondary
#8453B1
accent
#4BDD96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538227

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

Preview Lab → · Contrast checker → · Palette generator →

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