#4B701C#4B701C

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

Color values

HEX#4B701C
RGBrgb(75, 112, 28)
HSLhsl(86, 60%, 27%)
HSVhsv(86, 75%, 44%)
CMYKcmyk(33%, 0%, 75%, 56.1%)
CIE-LABlab(43.01, -27.28, 40.22)
CIE-LCHlch(43.01, 48.60, 124.15°)
OKLaboklab(49.95% -0.0773 0.0904)
OKLCHoklch(49.95% 0.119 130.5)
XYZxyz(8.9054, 13.1677, 3.1708)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B701C #411C70
analogous
#706B1C #4B701C #21701C
triadic
#4B701C #1C4B70 #701C4B
tetradic
#4B701C #1C706B #411C70 #701C21
square
#4B701C #1C706B #411C70 #701C21
split-complementary
#4B701C #1C2170 #6B1C70
monochromatic
#101806 #2A3F10 #4B701C #6CA128 #8CCD39

Accessibility & contrast

On white

5.78
#4B701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4B701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B701C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B701C#FFFFFF#000000##FFFFFF
##4B701C1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670D
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#4D6B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b701c;
/* rgb */ color: rgb(75, 112, 28);
/* oklch */ color: oklch(50.0% 0.119 130.5);
Tailwind
colors: {
  custom: {
    50: '#81995e',
    500: '#4b701c',
    950: '#000000',
  },
}
SCSS
$custom: #4b701c;
$custom-light: #81995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b701c",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 86.429,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49954,
    "c": 0.11897,
    "h": 130.5
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#4B701C
secondary
#6E43A5
accent
#45E38A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B701C

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

Preview Lab → · Contrast checker → · Palette generator →

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