#4B751B#4B751B

#4B751B is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.126 H 131.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4B751B
RGBrgb(75, 117, 27)
HSLhsl(88, 63%, 28%)
HSVhsv(88, 77%, 46%)
CMYKcmyk(35.9%, 0%, 76.9%, 54.1%)
CIE-LABlab(44.66, -29.73, 42.24)
CIE-LCHlch(44.66, 51.65, 125.14°)
OKLaboklab(51.29% -0.0841 0.0945)
OKLCHoklch(51.29% 0.126 131.7)
XYZxyz(9.4607, 14.2972, 3.2979)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B751B #451B75
analogous
#75721B #4B751B #1E751B
triadic
#4B751B #1B4B75 #751B4B
tetradic
#4B751B #1B7572 #451B75 #751B1E
square
#4B751B #1B7572 #451B75 #751B1E
split-complementary
#4B751B #1B1E75 #721B75
monochromatic
#101906 #2B4310 #4B751B #6BA726 #8AD139

Accessibility & contrast

On white

5.44
#4B751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4B751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B751B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B751B#FFFFFF#000000##FFFFFF
##4B751B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C09
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#4C7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b751b;
/* rgb */ color: rgb(75, 117, 27);
/* oklch */ color: oklch(51.3% 0.126 131.7);
Tailwind
colors: {
  custom: {
    50: '#819d5e',
    500: '#4b751b',
    950: '#000000',
  },
}
SCSS
$custom: #4b751b;
$custom-light: #819d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b751b",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 88,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51289,
    "c": 0.12646,
    "h": 131.7
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#4B751B
secondary
#7242A9
accent
#42E68E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B751B

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

Preview Lab → · Contrast checker → · Palette generator →

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