#4A8723#4A8723

#4A8723 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.1% C 0.146 H 135.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A8723
RGBrgb(74, 135, 35)
HSLhsl(97, 59%, 33%)
HSVhsv(97, 74%, 53%)
CMYKcmyk(45.2%, 0%, 74.1%, 47.1%)
CIE-LABlab(50.58, -37.59, 45.04)
CIE-LCHlch(50.58, 58.67, 129.85°)
OKLaboklab(56.14% -0.1047 0.1016)
OKLCHoklch(56.14% 0.146 135.8)
XYZxyz(11.7911, 18.9044, 4.6174)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8723 #602387
analogous
#7C8723 #4A8723 #23872E
triadic
#4A8723 #234A87 #87234A
tetradic
#4A8723 #237C87 #602387 #872E23
square
#4A8723 #237C87 #602387 #872E23
split-complementary
#4A8723 #2E2387 #87237C
monochromatic
#15260A #2F5616 #4A8723 #65B830 #84D252

Accessibility & contrast

On white

4.39
#4A8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4A8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8723
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8723#FFFFFF#000000##000000
##4A87231.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#488273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a8723;
/* rgb */ color: rgb(74, 135, 35);
/* oklch */ color: oklch(56.1% 0.146 135.8);
Tailwind
colors: {
  custom: {
    50: '#82aa65',
    500: '#4a8723',
    950: '#000000',
  },
}
SCSS
$custom: #4a8723;
$custom-light: #82aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8723",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 96.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.14588,
    "h": 135.8
  },
  "luminance": 0.18905
}

Semantic roles & 50–950 ramp

primary
#4A8723
secondary
#8E50B6
accent
#46E2A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8723

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

Preview Lab → · Contrast checker → · Palette generator →

#4A8723 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva