#53791A#53791A

#53791A is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.9% C 0.128 H 129.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#53791A
RGBrgb(83, 121, 26)
HSLhsl(84, 65%, 29%)
HSVhsv(84, 79%, 47%)
CMYKcmyk(31.4%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.43, -28.49, 44.48)
CIE-LCHlch(46.43, 52.82, 122.63°)
OKLaboklab(52.86% -0.0813 0.0988)
OKLCHoklch(52.86% 0.128 129.4)
XYZxyz(10.5911, 15.5880, 3.4279)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53791A #401A79
analogous
#79701A #53791A #24791A
triadic
#53791A #1A5379 #791A53
tetradic
#53791A #1A7970 #401A79 #791A24
square
#53791A #1A7970 #401A79 #791A24
split-complementary
#53791A #1A2479 #701A79
monochromatic
#111905 #30470F #53791A #76AB25 #96D439

Accessibility & contrast

On white

5.10
#53791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#53791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #53791A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53791A#FFFFFF#000000##FFFFFF
##53791A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#567367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #53791a;
/* rgb */ color: rgb(83, 121, 26);
/* oklch */ color: oklch(52.9% 0.128 129.4);
Tailwind
colors: {
  custom: {
    50: '#87a05f',
    500: '#53791a',
    950: '#000000',
  },
}
SCSS
$custom: #53791a;
$custom-light: #87a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#53791a",
  "rgb": {
    "r": 83,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 84,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.12799,
    "h": 129.4
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#53791A
secondary
#6D41AD
accent
#40E883
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #53791A

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

Preview Lab → · Contrast checker → · Palette generator →

#53791A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva