#4B701B#4B701B

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

Color values

HEX#4B701B
RGBrgb(75, 112, 27)
HSLhsl(86, 61%, 27%)
HSVhsv(86, 76%, 44%)
CMYKcmyk(33%, 0%, 75.9%, 56.1%)
CIE-LABlab(43.01, -27.35, 40.61)
CIE-LCHlch(43.01, 48.96, 123.96°)
OKLaboklab(49.95% -0.0776 0.0911)
OKLCHoklch(49.95% 0.12 130.4)
XYZxyz(8.8936, 13.1630, 3.1088)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B701B #401B70
analogous
#706B1B #4B701B #20701B
triadic
#4B701B #1B4B70 #701B4B
tetradic
#4B701B #1B706B #401B70 #701B20
square
#4B701B #1B706B #401B70 #701B20
split-complementary
#4B701B #1B2070 #6B1B70
monochromatic
#111906 #2A3F0F #4B701B #6CA127 #8DCF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B701B#FFFFFF#000000##FFFFFF
##4B701B1.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)
#75670B
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#4D6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b701b;
/* rgb */ color: rgb(75, 112, 27);
/* oklch */ color: oklch(49.9% 0.120 130.4);
Tailwind
colors: {
  custom: {
    50: '#81995e',
    500: '#4b701b',
    950: '#000000',
  },
}
SCSS
$custom: #4b701b;
$custom-light: #81995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b701b",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 86.118,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.11965,
    "h": 130.4
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#4B701B
secondary
#6D42A5
accent
#44E48A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B701B

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

Preview Lab → · Contrast checker → · Palette generator →

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