#4B7023#4B7023

#4B7023 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.114 H 131.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4B7023
RGBrgb(75, 112, 35)
HSLhsl(89, 52%, 29%)
HSVhsv(89, 69%, 44%)
CMYKcmyk(33%, 0%, 68.8%, 56.1%)
CIE-LABlab(43.07, -26.73, 37.27)
CIE-LCHlch(43.07, 45.87, 125.64°)
OKLaboklab(50.02% -0.0752 0.0853)
OKLCHoklch(50.02% 0.114 131.4)
XYZxyz(8.9991, 13.2052, 3.6645)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7023 #482370
analogous
#706F23 #4B7023 #257023
triadic
#4B7023 #234B70 #70234B
tetradic
#4B7023 #23706F #482370 #702325
square
#4B7023 #23706F #482370 #702325
split-complementary
#4B7023 #232570 #6F2370
monochromatic
#101707 #2C4114 #4B7023 #6A9F32 #89C648

Accessibility & contrast

On white

5.77
#4B7023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4B7023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7023
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7023#FFFFFF#000000##FFFFFF
##4B70231.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756819
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#4C6B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7023;
/* rgb */ color: rgb(75, 112, 35);
/* oklch */ color: oklch(50.0% 0.114 131.4);
Tailwind
colors: {
  custom: {
    50: '#809962',
    500: '#4b7023',
    950: '#000000',
  },
}
SCSS
$custom: #4b7023;
$custom-light: #809962;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7023",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 35
  },
  "hsl": {
    "h": 88.831,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50017,
    "c": 0.11371,
    "h": 131.4
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#4B7023
secondary
#764CA3
accent
#4CDC91
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #4B7023

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

Preview Lab → · Contrast checker → · Palette generator →

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