#4A701B#4A701B

#4A701B is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.120 H 130.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4A701B
RGBrgb(74, 112, 27)
HSLhsl(87, 61%, 27%)
HSVhsv(87, 76%, 44%)
CMYKcmyk(33.9%, 0%, 75.9%, 56.1%)
CIE-LABlab(42.95, -27.75, 40.53)
CIE-LCHlch(42.95, 49.12, 124.40°)
OKLaboklab(49.88% -0.0786 0.0909)
OKLCHoklch(49.88% 0.12 130.9)
XYZxyz(8.8160, 13.1230, 3.1052)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A701B #411B70
analogous
#706C1B #4A701B #1F701B
triadic
#4A701B #1B4A70 #701B4A
tetradic
#4A701B #1B706C #411B70 #701B1F
square
#4A701B #1B706C #411B70 #701B1F
split-complementary
#4A701B #1B1F70 #6C1B70
monochromatic
#101906 #293F0F #4A701B #6BA127 #8BCF37

Accessibility & contrast

On white

5.79
#4A701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4A701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A701B
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A701B#FFFFFF#000000##FFFFFF
##4A701B1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#4C6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a701b;
/* rgb */ color: rgb(74, 112, 27);
/* oklch */ color: oklch(49.9% 0.120 130.9);
Tailwind
colors: {
  custom: {
    50: '#80995e',
    500: '#4a701b',
    950: '#000000',
  },
}
SCSS
$custom: #4a701b;
$custom-light: #80995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a701b",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 86.824,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.12021,
    "h": 130.9
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#4A701B
secondary
#6E42A5
accent
#44E48B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #4A701B

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

Preview Lab → · Contrast checker → · Palette generator →

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