#4E5F23#4E5F23

#4E5F23 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.087 H 123.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4E5F23
RGBrgb(78, 95, 35)
HSLhsl(77, 46%, 25%)
HSVhsv(77, 63%, 37%)
CMYKcmyk(17.9%, 0%, 63.2%, 62.7%)
CIE-LABlab(37.71, -16.69, 31.47)
CIE-LCHlch(37.71, 35.62, 117.93°)
OKLaboklab(45.73% -0.0477 0.073)
OKLCHoklch(45.73% 0.087 123.2)
XYZxyz(7.5375, 9.9254, 3.1085)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F23 #34235F
analogous
#5F5223 #4E5F23 #305F23
triadic
#4E5F23 #234E5F #5F234E
tetradic
#4E5F23 #235F52 #34235F #5F2330
square
#4E5F23 #235F52 #34235F #5F2330
split-complementary
#4E5F23 #23305F #52235F
monochromatic
#121608 #293213 #4E5F23 #738C33 #97B844

Accessibility & contrast

On white

7.04
#4E5F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E5F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5F23
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F23#FFFFFF#000000##FFFFFF
##4E5F231.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591C
Deuteranopia (green-blind)
#625927
Tritanopia (blue-blind)
#525A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f23;
/* rgb */ color: rgb(78, 95, 35);
/* oklch */ color: oklch(45.7% 0.087 123.2);
Tailwind
colors: {
  custom: {
    50: '#818c60',
    500: '#4e5f23',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f23;
$custom-light: #818c60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f23",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 77,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.08716,
    "h": 123.2
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#4E5F23
secondary
#5F4B93
accent
#52D677
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E5F23

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

Preview Lab → · Contrast checker → · Palette generator →

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