#4B751F#4B751F

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

Color values

HEX#4B751F
RGBrgb(75, 117, 31)
HSLhsl(89, 58%, 29%)
HSVhsv(89, 74%, 46%)
CMYKcmyk(35.9%, 0%, 73.5%, 54.1%)
CIE-LABlab(44.68, -29.45, 40.68)
CIE-LCHlch(44.68, 50.22, 125.90°)
OKLaboklab(51.32% -0.083 0.0919)
OKLCHoklch(51.32% 0.124 132.1)
XYZxyz(9.5101, 14.3170, 3.5584)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B751F #491F75
analogous
#75741F #4B751F #20751F
triadic
#4B751F #1F4B75 #751F4B
tetradic
#4B751F #1F7574 #491F75 #751F20
square
#4B751F #1F7574 #491F75 #751F20
split-complementary
#4B751F #1F2075 #741F75
monochromatic
#101806 #2C4512 #4B751F #6AA52C #89CD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B751F#FFFFFF#000000##FFFFFF
##4B751F1.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)
#7A6C11
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#4C7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b751f;
/* rgb */ color: rgb(75, 117, 31);
/* oklch */ color: oklch(51.3% 0.124 132.1);
Tailwind
colors: {
  custom: {
    50: '#819d60',
    500: '#4b751f',
    950: '#000000',
  },
}
SCSS
$custom: #4b751f;
$custom-light: #819d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b751f",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 89.302,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.12378,
    "h": 132.1
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

primary
#4B751F
secondary
#7747A9
accent
#46E192
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B751F

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

Preview Lab → · Contrast checker → · Palette generator →

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