#4B7623#4B7623

#4B7623 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.122 H 132.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4B7623
RGBrgb(75, 118, 35)
HSLhsl(91, 54%, 30%)
HSVhsv(91, 70%, 46%)
CMYKcmyk(36.4%, 0%, 70.3%, 53.7%)
CIE-LABlab(45.04, -29.60, 39.36)
CIE-LCHlch(45.04, 49.25, 126.94°)
OKLaboklab(51.63% -0.083 0.0897)
OKLCHoklch(51.63% 0.122 132.8)
XYZxyz(9.6833, 14.5737, 3.8926)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7623 #4E2376
analogous
#757623 #4B7623 #237624
triadic
#4B7623 #234B76 #76234B
tetradic
#4B7623 #237576 #4E2376 #762423
square
#4B7623 #237576 #4E2376 #762423
split-complementary
#4B7623 #242376 #762375
monochromatic
#0F1807 #2D4715 #4B7623 #69A531 #87C94A

Accessibility & contrast

On white

5.36
#4B7623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4B7623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7623
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7623#FFFFFF#000000##FFFFFF
##4B76231.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D17
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#4C7165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4b7623;
/* rgb */ color: rgb(75, 118, 35);
/* oklch */ color: oklch(51.6% 0.122 132.8);
Tailwind
colors: {
  custom: {
    50: '#819e63',
    500: '#4b7623',
    950: '#000000',
  },
}
SCSS
$custom: #4b7623;
$custom-light: #819e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7623",
  "rgb": {
    "r": 75,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 91.084,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.12224,
    "h": 132.8
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#4B7623
secondary
#7C4CA9
accent
#4ADE97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4B7623

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

Preview Lab → · Contrast checker → · Palette generator →

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