#4B8A23#4B8A23

#4B8A23 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.149 H 136.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4B8A23
RGBrgb(75, 138, 35)
HSLhsl(97, 60%, 34%)
HSVhsv(97, 75%, 54%)
CMYKcmyk(45.7%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.60, -38.53, 46.09)
CIE-LCHlch(51.60, 60.07, 129.90°)
OKLaboklab(56.99% -0.1073 0.1038)
OKLCHoklch(56.99% 0.149 136)
XYZxyz(12.2932, 19.7934, 4.7625)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8A23 #62238A
analogous
#7F8A23 #4B8A23 #238A2F
triadic
#4B8A23 #234B8A #8A234B
tetradic
#4B8A23 #237F8A #62238A #8A2F23
square
#4B8A23 #237F8A #62238A #8A2F23
split-complementary
#4B8A23 #2F238A #8A237F
monochromatic
#16280A #305917 #4B8A23 #66BB2F #85D454

Accessibility & contrast

On white

4.23
#4B8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4B8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8A23
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8A23#FFFFFF#000000##000000
##4B8A231.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b8a23;
/* rgb */ color: rgb(75, 138, 35);
/* oklch */ color: oklch(57.0% 0.149 136.0);
Tailwind
colors: {
  custom: {
    50: '#83ad65',
    500: '#4b8a23',
    950: '#000000',
  },
}
SCSS
$custom: #4b8a23;
$custom-light: #83ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8a23",
  "rgb": {
    "r": 75,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 96.699,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.14926,
    "h": 136
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

primary
#4B8A23
secondary
#9051B7
accent
#45E3A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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