#53791B#53791B

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

Color values

HEX#53791B
RGBrgb(83, 121, 27)
HSLhsl(84, 64%, 29%)
HSVhsv(84, 78%, 47%)
CMYKcmyk(31.4%, 0%, 77.7%, 52.5%)
CIE-LABlab(46.44, -28.43, 44.13)
CIE-LCHlch(46.44, 52.49, 122.79°)
OKLaboklab(52.86% -0.0811 0.0983)
OKLCHoklch(52.86% 0.127 129.5)
XYZxyz(10.6024, 15.5926, 3.4878)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53791B #411B79
analogous
#79701B #53791B #24791B
triadic
#53791B #1B5379 #791B53
tetradic
#53791B #1B7970 #411B79 #791B24
square
#53791B #1B7970 #411B79 #791B24
split-complementary
#53791B #1B2479 #701B79
monochromatic
#111906 #314710 #53791B #75AB26 #96D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##53791B#FFFFFF#000000##FFFFFF
##53791B1.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)
#7F7007
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#567367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #53791b;
/* rgb */ color: rgb(83, 121, 27);
/* oklch */ color: oklch(52.9% 0.127 129.5);
Tailwind
colors: {
  custom: {
    50: '#87a05f',
    500: '#53791b',
    950: '#000000',
  },
}
SCSS
$custom: #53791b;
$custom-light: #87a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#53791b",
  "rgb": {
    "r": 83,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 84.255,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.12739,
    "h": 129.5
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#53791B
secondary
#6E43AD
accent
#41E784
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #53791B

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

Preview Lab → · Contrast checker → · Palette generator →

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