#53791F#53791F

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

Color values

HEX#53791F
RGBrgb(83, 121, 31)
HSLhsl(85, 59%, 30%)
HSVhsv(85, 74%, 47%)
CMYKcmyk(31.4%, 0%, 74.4%, 52.5%)
CIE-LABlab(46.46, -28.17, 42.63)
CIE-LCHlch(46.46, 51.10, 123.45°)
OKLaboklab(52.89% -0.08 0.0958)
OKLCHoklch(52.89% 0.125 129.9)
XYZxyz(10.6519, 15.6124, 3.7483)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53791F #451F79
analogous
#79721F #53791F #26791F
triadic
#53791F #1F5379 #791F53
tetradic
#53791F #1F7972 #451F79 #791F26
square
#53791F #1F7972 #451F79 #791F26
split-complementary
#53791F #1F2679 #721F79
monochromatic
#111806 #324813 #53791F #74AA2B #94CF43

Accessibility & contrast

On white

5.09
#53791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #53791F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53791F#FFFFFF#000000##FFFFFF
##53791F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#557467
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #53791f;
/* rgb */ color: rgb(83, 121, 31);
/* oklch */ color: oklch(52.9% 0.125 129.9);
Tailwind
colors: {
  custom: {
    50: '#87a061',
    500: '#53791f',
    950: '#000000',
  },
}
SCSS
$custom: #53791f;
$custom-light: #87a061;
$custom-dark: #000000;
JSON
{
  "hex": "#53791f",
  "rgb": {
    "r": 83,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 85.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.12482,
    "h": 129.9
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#53791F
secondary
#7247AC
accent
#45E288
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #53791F

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

Preview Lab → · Contrast checker → · Palette generator →

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