#4E931B#4E931B

#4E931B is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.5% C 0.163 H 135.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4E931B
RGBrgb(78, 147, 27)
HSLhsl(95, 69%, 34%)
HSVhsv(95, 82%, 58%)
CMYKcmyk(46.9%, 0%, 81.6%, 42.4%)
CIE-LABlab(54.62, -41.78, 51.77)
CIE-LCHlch(54.62, 66.53, 128.90°)
OKLaboklab(59.49% -0.1168 0.1144)
OKLCHoklch(59.49% 0.163 135.6)
XYZxyz(13.7731, 22.5654, 4.6665)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E931B #601B93
analogous
#8A931B #4E931B #1B9324
triadic
#4E931B #1B4E93 #931B4E
tetradic
#4E931B #1B8A93 #601B93 #93241B
square
#4E931B #1B8A93 #601B93 #93241B
split-complementary
#4E931B #241B93 #931B8A
monochromatic
#172C08 #335F12 #4E931B #69C724 #89DE4B

Accessibility & contrast

On white

3.81
#4E931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4E931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E931B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E931B#FFFFFF#000000##000000
##4E931B1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8F8129
Tritanopia (blue-blind)
#4B8D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e931b;
/* rgb */ color: rgb(78, 147, 27);
/* oklch */ color: oklch(59.5% 0.163 135.6);
Tailwind
colors: {
  custom: {
    50: '#86b363',
    500: '#4e931b',
    950: '#000000',
  },
}
SCSS
$custom: #4e931b;
$custom-light: #86b363;
$custom-dark: #000000;
JSON
{
  "hex": "#4e931b",
  "rgb": {
    "r": 78,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 94.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.16346,
    "h": 135.6
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#4E931B
secondary
#8E4AC0
accent
#3CECA1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E931B

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

Preview Lab → · Contrast checker → · Palette generator →

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