#4B5E12#4B5E12

#4B5E12 is a mid, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.1% C 0.101 H 123.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4B5E12
RGBrgb(75, 94, 18)
HSLhsl(75, 68%, 22%)
HSVhsv(75, 81%, 37%)
CMYKcmyk(20.2%, 0%, 80.9%, 63.1%)
CIE-LABlab(37.01, -18.79, 38.24)
CIE-LCHlch(37.01, 42.60, 116.16°)
OKLaboklab(45.06% -0.055 0.0845)
OKLCHoklch(45.06% 0.101 123.1)
XYZxyz(7.0136, 9.5449, 2.0450)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5E12 #25125E
analogous
#5E4B12 #4B5E12 #255E12
triadic
#4B5E12 #124B5E #5E124B
tetradic
#4B5E12 #125E4B #25125E #5E1225
square
#4B5E12 #125E4B #25125E #5E1225
split-complementary
#4B5E12 #12255E #4B125E
monochromatic
#141A05 #222B08 #4B5E12 #74911C #9DC526

Accessibility & contrast

On white

7.22
#4B5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4B5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5E12
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5E12#FFFFFF#000000##FFFFFF
##4B5E121.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#4F5950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4b5e12;
/* rgb */ color: rgb(75, 94, 18);
/* oklch */ color: oklch(45.1% 0.101 123.1);
Tailwind
colors: {
  custom: {
    50: '#808b57',
    500: '#4b5e12',
    950: '#000000',
  },
}
SCSS
$custom: #4b5e12;
$custom-light: #808b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5e12",
  "rgb": {
    "r": 75,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 75,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.10085,
    "h": 123.1
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#4B5E12
secondary
#4E3596
accent
#3DEB68
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4B5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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