#497818#497818

#497818 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.133 H 132.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#497818
RGBrgb(73, 120, 24)
HSLhsl(89, 67%, 28%)
HSVhsv(89, 80%, 47%)
CMYKcmyk(39.2%, 0%, 80%, 52.9%)
CIE-LABlab(45.52, -32.08, 44.12)
CIE-LCHlch(45.52, 54.54, 126.02°)
OKLaboklab(51.96% -0.0905 0.098)
OKLCHoklch(51.96% 0.133 132.7)
XYZxyz(9.6289, 14.9149, 3.2355)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#497818 #471878
analogous
#787718 #497818 #197818
triadic
#497818 #184978 #781849
tetradic
#497818 #187877 #471878 #781819
square
#497818 #187877 #471878 #781819
split-complementary
#497818 #181978 #771878
monochromatic
#101A05 #2A450E #497818 #68AB22 #87D634

Accessibility & contrast

On white

5.27
#497818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#497818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #497818
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##497818#FFFFFF#000000##FFFFFF
##4978181.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#4A7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #497818;
/* rgb */ color: rgb(73, 120, 24);
/* oklch */ color: oklch(52.0% 0.133 132.7);
Tailwind
colors: {
  custom: {
    50: '#809f5d',
    500: '#497818',
    950: '#000000',
  },
}
SCSS
$custom: #497818;
$custom-light: #809f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#497818",
  "rgb": {
    "r": 73,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 89.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.13337,
    "h": 132.7
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#497818
secondary
#753FAD
accent
#3EEA92
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #497818

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

Preview Lab → · Contrast checker → · Palette generator →

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