#4E7D23#4E7D23

#4E7D23 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.130 H 133.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E7D23
RGBrgb(78, 125, 35)
HSLhsl(91, 56%, 31%)
HSVhsv(91, 72%, 49%)
CMYKcmyk(37.6%, 0%, 72%, 51%)
CIE-LABlab(47.51, -31.71, 41.97)
CIE-LCHlch(47.51, 52.61, 127.07°)
OKLaboklab(53.68% -0.089 0.0951)
OKLCHoklch(53.68% 0.13 133.1)
XYZxyz(10.7787, 16.4078, 4.1889)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D23 #52237D
analogous
#7B7D23 #4E7D23 #237D25
triadic
#4E7D23 #234E7D #7D234E
tetradic
#4E7D23 #237B7D #52237D #7D2523
square
#4E7D23 #237B7D #52237D #7D2523
split-complementary
#4E7D23 #25237D #7D237B
monochromatic
#121D08 #304D16 #4E7D23 #6CAD30 #8ACD4D

Accessibility & contrast

On white

4.90
#4E7D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4E7D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D23
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D23#FFFFFF#000000##FFFFFF
##4E7D231.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#4E786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d23;
/* rgb */ color: rgb(78, 125, 35);
/* oklch */ color: oklch(53.7% 0.130 133.1);
Tailwind
colors: {
  custom: {
    50: '#84a364',
    500: '#4e7d23',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d23;
$custom-light: #84a364;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d23",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 91.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.13026,
    "h": 133.1
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#4E7D23
secondary
#804CAF
accent
#48E097
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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