#538B1C#538B1C

#538B1C is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.150 H 133.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#538B1C
RGBrgb(83, 139, 28)
HSLhsl(90, 66%, 33%)
HSVhsv(90, 80%, 55%)
CMYKcmyk(40.3%, 0%, 79.9%, 45.5%)
CIE-LABlab(52.27, -36.60, 49.35)
CIE-LCHlch(52.27, 61.44, 126.56°)
OKLaboklab(57.63% -0.1031 0.1094)
OKLCHoklch(57.63% 0.15 133.3)
XYZxyz(13.0093, 20.3874, 4.3481)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B1C #541C8B
analogous
#8B8B1C #538B1C #1C8B1C
triadic
#538B1C #1C538B #8B1C53
tetradic
#538B1C #1C8B8B #541C8B #8B1C1C
square
#538B1C #1C8B8B #541C8B #8B1C1C
split-complementary
#538B1C #1C1C8B #8B1C8B
monochromatic
#162507 #355812 #538B1C #71BE26 #90DA47

Accessibility & contrast

On white

4.14
#538B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#538B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B1C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B1C#FFFFFF#000000##000000
##538B1C1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#538576
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b1c;
/* rgb */ color: rgb(83, 139, 28);
/* oklch */ color: oklch(57.6% 0.150 133.3);
Tailwind
colors: {
  custom: {
    50: '#89ad62',
    500: '#538b1c',
    950: '#000000',
  },
}
SCSS
$custom: #538b1c;
$custom-light: #89ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#538b1c",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 90.27,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57631,
    "c": 0.15031,
    "h": 133.3
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

primary
#538B1C
secondary
#8247BC
accent
#3EE995
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538B1C

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

Preview Lab → · Contrast checker → · Palette generator →

#538B1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva