#4E7B23#4E7B23

#4E7B23 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.128 H 132.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7B23
RGBrgb(78, 123, 35)
HSLhsl(91, 56%, 31%)
HSVhsv(91, 72%, 48%)
CMYKcmyk(36.6%, 0%, 71.5%, 51.8%)
CIE-LABlab(46.85, -30.79, 41.30)
CIE-LCHlch(46.85, 51.51, 126.70°)
OKLaboklab(53.14% -0.0865 0.0937)
OKLCHoklch(53.14% 0.128 132.7)
XYZxyz(10.5281, 15.9065, 4.1053)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B23 #50237B
analogous
#7A7B23 #4E7B23 #237B24
triadic
#4E7B23 #234E7B #7B234E
tetradic
#4E7B23 #237A7B #50237B #7B2423
square
#4E7B23 #237A7B #50237B #7B2423
split-complementary
#4E7B23 #24237B #7B237A
monochromatic
#121C08 #304B15 #4E7B23 #6CAB31 #8BCC4C

Accessibility & contrast

On white

5.02
#4E7B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4E7B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B23
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B23#FFFFFF#000000##FFFFFF
##4E7B231.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807116
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b23;
/* rgb */ color: rgb(78, 123, 35);
/* oklch */ color: oklch(53.1% 0.128 132.7);
Tailwind
colors: {
  custom: {
    50: '#83a163',
    500: '#4e7b23',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b23;
$custom-light: #83a163;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b23",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 90.682,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.12752,
    "h": 132.7
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#4E7B23
secondary
#7E4CAE
accent
#49DF96
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7B23

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

Preview Lab → · Contrast checker → · Palette generator →

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