#4A8A23#4A8A23

#4A8A23 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 56.9% C 0.150 H 136.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A8A23
RGBrgb(74, 138, 35)
HSLhsl(97, 60%, 34%)
HSVhsv(97, 75%, 54%)
CMYKcmyk(46.4%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.56, -38.87, 46.03)
CIE-LCHlch(51.56, 60.24, 130.18°)
OKLaboklab(56.94% -0.1081 0.1037)
OKLCHoklch(56.94% 0.15 136.2)
XYZxyz(12.2156, 19.7534, 4.7589)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A23 #63238A
analogous
#7E8A23 #4A8A23 #238A30
triadic
#4A8A23 #234A8A #8A234A
tetradic
#4A8A23 #237E8A #63238A #8A3023
square
#4A8A23 #237E8A #63238A #8A3023
split-complementary
#4A8A23 #30238A #8A237E
monochromatic
#16280A #305917 #4A8A23 #64BB2F #84D454

Accessibility & contrast

On white

4.24
#4A8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4A8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8A23
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8A23#FFFFFF#000000##000000
##4A8A231.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#478576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a23;
/* rgb */ color: rgb(74, 138, 35);
/* oklch */ color: oklch(56.9% 0.150 136.2);
Tailwind
colors: {
  custom: {
    50: '#83ad65',
    500: '#4a8a23',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a23;
$custom-light: #83ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a23",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 97.282,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.14979,
    "h": 136.2
  },
  "luminance": 0.19754
}

Semantic roles & 50–950 ramp

primary
#4A8A23
secondary
#9151B7
accent
#45E3A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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