#4A851B#4A851B

#4A851B is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.5% C 0.148 H 134.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4A851B
RGBrgb(74, 133, 27)
HSLhsl(93, 66%, 31%)
HSVhsv(93, 80%, 52%)
CMYKcmyk(44.4%, 0%, 79.7%, 47.8%)
CIE-LABlab(49.87, -37.27, 47.25)
CIE-LCHlch(49.87, 60.18, 128.27°)
OKLaboklab(55.54% -0.1044 0.105)
OKLCHoklch(55.54% 0.148 134.8)
XYZxyz(11.4092, 18.3094, 3.9696)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A851B #561B85
analogous
#7F851B #4A851B #1B8521
triadic
#4A851B #1B4A85 #851B4A
tetradic
#4A851B #1B7F85 #561B85 #85211B
square
#4A851B #1B7F85 #561B85 #85211B
split-complementary
#4A851B #211B85 #851B7F
monochromatic
#111F06 #2E5211 #4A851B #66B825 #85D942

Accessibility & contrast

On white

4.50
#4A851B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4A851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A851B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A851B#FFFFFF#000000##000000
##4A851B1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#498071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a851b;
/* rgb */ color: rgb(74, 133, 27);
/* oklch */ color: oklch(55.5% 0.148 134.8);
Tailwind
colors: {
  custom: {
    50: '#82a961',
    500: '#4a851b',
    950: '#000000',
  },
}
SCSS
$custom: #4a851b;
$custom-light: #82a961;
$custom-dark: #000000;
JSON
{
  "hex": "#4a851b",
  "rgb": {
    "r": 74,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 93.396,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5554,
    "c": 0.14805,
    "h": 134.8
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#4A851B
secondary
#8544B8
accent
#3FE99E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A851B

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

Preview Lab → · Contrast checker → · Palette generator →

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