#4B701F#4B701F

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

Color values

HEX#4B701F
RGBrgb(75, 112, 31)
HSLhsl(87, 57%, 28%)
HSVhsv(87, 72%, 44%)
CMYKcmyk(33%, 0%, 72.3%, 56.1%)
CIE-LABlab(43.04, -27.06, 39.00)
CIE-LCHlch(43.04, 47.46, 124.75°)
OKLaboklab(49.98% -0.0764 0.0883)
OKLCHoklch(49.98% 0.117 130.9)
XYZxyz(8.9431, 13.1828, 3.3694)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B701F #441F70
analogous
#706C1F #4B701F #23701F
triadic
#4B701F #1F4B70 #701F4B
tetradic
#4B701F #1F706C #441F70 #701F23
square
#4B701F #1F706C #441F70 #701F23
split-complementary
#4B701F #1F2370 #6C1F70
monochromatic
#101807 #2B4012 #4B701F #6BA02C #8BCA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B701F#FFFFFF#000000##FFFFFF
##4B701F1.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)
#756713
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#4D6B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b701f;
/* rgb */ color: rgb(75, 112, 31);
/* oklch */ color: oklch(50.0% 0.117 130.9);
Tailwind
colors: {
  custom: {
    50: '#809960',
    500: '#4b701f',
    950: '#000000',
  },
}
SCSS
$custom: #4b701f;
$custom-light: #809960;
$custom-dark: #000000;
JSON
{
  "hex": "#4b701f",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 87.407,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.11682,
    "h": 130.9
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#4B701F
secondary
#7147A4
accent
#48E08D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #4B701F

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

Preview Lab → · Contrast checker → · Palette generator →

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