#58781B#58781B

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

Color values

HEX#58781B
RGBrgb(88, 120, 27)
HSLhsl(81, 63%, 29%)
HSVhsv(81, 78%, 47%)
CMYKcmyk(26.7%, 0%, 77.5%, 52.9%)
CIE-LABlab(46.43, -25.87, 44.23)
CIE-LCHlch(46.43, 51.24, 120.33°)
OKLaboklab(52.94% -0.0744 0.0984)
OKLCHoklch(52.94% 0.123 127.1)
XYZxyz(10.9388, 15.5866, 3.4689)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58781B #3B1B78
analogous
#786A1B #58781B #2A781B
triadic
#58781B #1B5878 #781B58
tetradic
#58781B #1B786A #3B1B78 #781B2A
square
#58781B #1B786A #3B1B78 #781B2A
split-complementary
#58781B #1B2A78 #6A1B78
monochromatic
#121906 #334610 #58781B #7DAA26 #9ED33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #58781b;
/* rgb */ color: rgb(88, 120, 27);
/* oklch */ color: oklch(52.9% 0.123 127.1);
Tailwind
colors: {
  custom: {
    50: '#8a9f5f',
    500: '#58781b',
    950: '#000000',
  },
}
SCSS
$custom: #58781b;
$custom-light: #8a9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#58781b",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 80.645,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5294,
    "c": 0.12335,
    "h": 127.1
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#58781B
secondary
#6743AC
accent
#41E67A
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #58781B

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

Preview Lab → · Contrast checker → · Palette generator →

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