#4B951F#4B951F

#4B951F is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 59.9% C 0.165 H 136.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4B951F
RGBrgb(75, 149, 31)
HSLhsl(98, 66%, 35%)
HSVhsv(98, 79%, 58%)
CMYKcmyk(49.7%, 0%, 79.2%, 41.6%)
CIE-LABlab(55.16, -43.34, 50.98)
CIE-LCHlch(55.16, 66.91, 130.37°)
OKLaboklab(59.91% -0.1205 0.1134)
OKLCHoklch(59.91% 0.165 136.7)
XYZxyz(13.8960, 23.0887, 5.0204)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B951F #691F95
analogous
#86951F #4B951F #1F952E
triadic
#4B951F #1F4B95 #951F4B
tetradic
#4B951F #1F8695 #691F95 #952E1F
square
#4B951F #1F8695 #691F95 #952E1F
split-complementary
#4B951F #2E1F95 #951F86
monochromatic
#18300A #316214 #4B951F #64C82A #86DB53

Accessibility & contrast

On white

3.74
#4B951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#4B951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B951F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B951F#FFFFFF#000000##000000
##4B951F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#478F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4b951f;
/* rgb */ color: rgb(75, 149, 31);
/* oklch */ color: oklch(59.9% 0.165 136.7);
Tailwind
colors: {
  custom: {
    50: '#85b565',
    500: '#4b951f',
    950: '#000000',
  },
}
SCSS
$custom: #4b951f;
$custom-light: #85b565;
$custom-dark: #000000;
JSON
{
  "hex": "#4b951f",
  "rgb": {
    "r": 75,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 97.627,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59908,
    "c": 0.16547,
    "h": 136.7
  },
  "luminance": 0.2309
}

Semantic roles & 50–950 ramp

primary
#4B951F
secondary
#9651BF
accent
#3FE9A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4B951F

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

Preview Lab → · Contrast checker → · Palette generator →

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