#5A6830#5A6830

#5A6830 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.2% C 0.082 H 121.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5A6830
RGBrgb(90, 104, 48)
HSLhsl(75, 37%, 30%)
HSVhsv(75, 54%, 41%)
CMYKcmyk(13.5%, 0%, 53.8%, 59.2%)
CIE-LABlab(41.67, -14.92, 29.49)
CIE-LCHlch(41.67, 33.05, 116.83°)
OKLaboklab(49.2% -0.0421 0.0699)
OKLCHoklch(49.2% 0.082 121.1)
XYZxyz(9.7003, 12.2877, 4.6565)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6830 #3E3068
analogous
#685A30 #5A6830 #3E6830
triadic
#5A6830 #305A68 #68305A
tetradic
#5A6830 #30685A #3E3068 #68303E
square
#5A6830 #30685A #3E3068 #68303E
split-complementary
#5A6830 #303E68 #5A3068
monochromatic
#12150A #363E1D #5A6830 #7E9243 #9FB55E

Accessibility & contrast

On white

6.07
#5A6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5A6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6830
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6830#FFFFFF#000000##FFFFFF
##5A68301.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632B
Deuteranopia (green-blind)
#6C6233
Tritanopia (blue-blind)
#5E635B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6830;
/* rgb */ color: rgb(90, 104, 48);
/* oklch */ color: oklch(49.2% 0.082 121.1);
Tailwind
colors: {
  custom: {
    50: '#8a936a',
    500: '#5a6830',
    950: '#000000',
  },
}
SCSS
$custom: #5a6830;
$custom-light: #8a936a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6830",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 75,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.08165,
    "h": 121.1
  },
  "luminance": 0.12288
}

Semantic roles & 50–950 ramp

primary
#5A6830
secondary
#6A5A99
accent
#5BCD77
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5A6830

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

Preview Lab → · Contrast checker → · Palette generator →

#5A6830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva