#4F8523#4F8523

#4F8523 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.141 H 134.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4F8523
RGBrgb(79, 133, 35)
HSLhsl(93, 58%, 33%)
HSVhsv(93, 74%, 52%)
CMYKcmyk(40.6%, 0%, 73.7%, 47.8%)
CIE-LABlab(50.17, -34.96, 44.71)
CIE-LCHlch(50.17, 56.75, 128.02°)
OKLaboklab(55.87% -0.0979 0.1008)
OKLCHoklch(55.87% 0.141 134.1)
XYZxyz(11.9151, 18.5581, 4.5440)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8523 #592385
analogous
#808523 #4F8523 #238528
triadic
#4F8523 #234F85 #85234F
tetradic
#4F8523 #238085 #592385 #852823
square
#4F8523 #238085 #592385 #852823
split-complementary
#4F8523 #282385 #852380
monochromatic
#152409 #325516 #4F8523 #6CB530 #8BD151

Accessibility & contrast

On white

4.46
#4F8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4F8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8523
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8523#FFFFFF#000000##000000
##4F85231.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#4E8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f8523;
/* rgb */ color: rgb(79, 133, 35);
/* oklch */ color: oklch(55.9% 0.141 134.1);
Tailwind
colors: {
  custom: {
    50: '#85a965',
    500: '#4f8523',
    950: '#000000',
  },
}
SCSS
$custom: #4f8523;
$custom-light: #85a965;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8523",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 93.061,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.14052,
    "h": 134.1
  },
  "luminance": 0.18559
}

Semantic roles & 50–950 ramp

primary
#4F8523
secondary
#874FB5
accent
#46E29C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8523

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

Preview Lab → · Contrast checker → · Palette generator →

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