#4E7023#4E7023

#4E7023 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.112 H 130.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4E7023
RGBrgb(78, 112, 35)
HSLhsl(86, 52%, 29%)
HSVhsv(86, 69%, 44%)
CMYKcmyk(30.4%, 0%, 68.8%, 56.1%)
CIE-LABlab(43.26, -25.51, 37.52)
CIE-LCHlch(43.26, 45.37, 124.21°)
OKLaboklab(50.22% -0.0721 0.0858)
OKLCHoklch(50.22% 0.112 130)
XYZxyz(9.2394, 13.3291, 3.6758)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7023 #452370
analogous
#706C23 #4E7023 #277023
triadic
#4E7023 #234E70 #70234E
tetradic
#4E7023 #23706C #452370 #702327
square
#4E7023 #23706C #452370 #702327
split-complementary
#4E7023 #232770 #6C2370
monochromatic
#101707 #2E4114 #4E7023 #6E9F32 #8EC648

Accessibility & contrast

On white

5.73
#4E7023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4E7023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7023
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7023#FFFFFF#000000##FFFFFF
##4E70231.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756819
Deuteranopia (green-blind)
#716529
Tritanopia (blue-blind)
#506B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e7023;
/* rgb */ color: rgb(78, 112, 35);
/* oklch */ color: oklch(50.2% 0.112 130.0);
Tailwind
colors: {
  custom: {
    50: '#829962',
    500: '#4e7023',
    950: '#000000',
  },
}
SCSS
$custom: #4e7023;
$custom-light: #829962;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7023",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 35
  },
  "hsl": {
    "h": 86.494,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50216,
    "c": 0.11204,
    "h": 130
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#4E7023
secondary
#724CA3
accent
#4CDC8B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7023

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

Preview Lab → · Contrast checker → · Palette generator →

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