#538A1C#538A1C

#538A1C is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.4% C 0.149 H 133.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#538A1C
RGBrgb(83, 138, 28)
HSLhsl(90, 66%, 33%)
HSVhsv(90, 80%, 54%)
CMYKcmyk(39.9%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.95, -36.16, 49.05)
CIE-LCHlch(51.95, 60.94, 126.40°)
OKLaboklab(57.37% -0.1019 0.1087)
OKLCHoklch(57.37% 0.149 133.1)
XYZxyz(12.8652, 20.0992, 4.3000)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A1C #531C8A
analogous
#8A8A1C #538A1C #1C8A1C
triadic
#538A1C #1C538A #8A1C53
tetradic
#538A1C #1C8A8A #531C8A #8A1C1C
square
#538A1C #1C8A8A #531C8A #8A1C1C
split-complementary
#538A1C #1C1C8A #8A1C8A
monochromatic
#162407 #345712 #538A1C #72BD26 #90DA47

Accessibility & contrast

On white

4.18
#538A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#538A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538A1C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538A1C#FFFFFF#000000##000000
##538A1C1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#538476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #538a1c;
/* rgb */ color: rgb(83, 138, 28);
/* oklch */ color: oklch(57.4% 0.149 133.1);
Tailwind
colors: {
  custom: {
    50: '#88ac62',
    500: '#538a1c',
    950: '#000000',
  },
}
SCSS
$custom: #538a1c;
$custom-light: #88ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#538a1c",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57366,
    "c": 0.14903,
    "h": 133.1
  },
  "luminance": 0.201
}

Semantic roles & 50–950 ramp

primary
#538A1C
secondary
#8146BB
accent
#3FE994
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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