#497822#497822

#497822 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.0% C 0.127 H 133.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#497822
RGBrgb(73, 120, 34)
HSLhsl(93, 56%, 30%)
HSVhsv(93, 72%, 47%)
CMYKcmyk(39.2%, 0%, 71.7%, 52.9%)
CIE-LABlab(45.59, -31.37, 40.32)
CIE-LCHlch(45.59, 51.09, 127.88°)
OKLaboklab(52.04% -0.0878 0.0916)
OKLCHoklch(52.04% 0.127 133.8)
XYZxyz(9.7527, 14.9645, 3.8876)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497822 #512278
analogous
#747822 #497822 #227826
triadic
#497822 #224978 #782249
tetradic
#497822 #227478 #512278 #782622
square
#497822 #227478 #512278 #782622
split-complementary
#497822 #262278 #782274
monochromatic
#0F1907 #2C4814 #497822 #66A830 #84CB49

Accessibility & contrast

On white

5.26
#497822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#497822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497822
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497822#FFFFFF#000000##FFFFFF
##4978221.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#766B2A
Tritanopia (blue-blind)
#497367
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #497822;
/* rgb */ color: rgb(73, 120, 34);
/* oklch */ color: oklch(52.0% 0.127 133.8);
Tailwind
colors: {
  custom: {
    50: '#809f62',
    500: '#497822',
    950: '#000000',
  },
}
SCSS
$custom: #497822;
$custom-light: #809f62;
$custom-dark: #000000;
JSON
{
  "hex": "#497822",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 92.791,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52035,
    "c": 0.1269,
    "h": 133.8
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#497822
secondary
#7F4BAB
accent
#49DF9B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #497822

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

Preview Lab → · Contrast checker → · Palette generator →

#497822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva