#4B8F12#4B8F12

#4B8F12 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.2% C 0.164 H 135.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4B8F12
RGBrgb(75, 143, 18)
HSLhsl(93, 78%, 32%)
HSVhsv(93, 87%, 56%)
CMYKcmyk(47.6%, 0%, 87.4%, 43.9%)
CIE-LABlab(53.15, -41.55, 52.82)
CIE-LCHlch(53.15, 67.21, 128.19°)
OKLaboklab(58.23% -0.1164 0.1153)
OKLCHoklch(58.23% 0.164 135.3)
XYZxyz(12.8330, 21.1836, 3.9848)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8F12 #56128F
analogous
#8A8F12 #4B8F12 #128F18
triadic
#4B8F12 #124B8F #8F124B
tetradic
#4B8F12 #128A8F #56128F #8F1812
square
#4B8F12 #128A8F #56128F #8F1812
split-complementary
#4B8F12 #18128F #8F128A
monochromatic
#122204 #2E590B #4B8F12 #68C519 #86E636

Accessibility & contrast

On white

4.01
#4B8F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4B8F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8F12
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8F12#FFFFFF#000000##000000
##4B8F121.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958200
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#498979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4b8f12;
/* rgb */ color: rgb(75, 143, 18);
/* oklch */ color: oklch(58.2% 0.164 135.3);
Tailwind
colors: {
  custom: {
    50: '#85b05f',
    500: '#4b8f12',
    950: '#000000',
  },
}
SCSS
$custom: #4b8f12;
$custom-light: #85b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8f12",
  "rgb": {
    "r": 75,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 92.64,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.16389,
    "h": 135.3
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

primary
#4B8F12
secondary
#843AC3
accent
#34F49C
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4B8F12

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

Preview Lab → · Contrast checker → · Palette generator →

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