#4A5F10#4A5F10

#4A5F10 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.2% C 0.104 H 124.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4A5F10
RGBrgb(74, 95, 16)
HSLhsl(76, 71%, 22%)
HSVhsv(76, 83%, 37%)
CMYKcmyk(22.1%, 0%, 83.2%, 62.7%)
CIE-LABlab(37.26, -19.88, 39.15)
CIE-LCHlch(37.26, 43.91, 116.92°)
OKLaboklab(45.24% -0.0581 0.0861)
OKLCHoklch(45.24% 0.104 124)
XYZxyz(7.0099, 9.6776, 1.9888)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5F10 #25105F
analogous
#5F4D10 #4A5F10 #235F10
triadic
#4A5F10 #104A5F #5F104A
tetradic
#4A5F10 #105F4D #25105F #5F1023
square
#4A5F10 #105F4D #25105F #5F1023
split-complementary
#4A5F10 #10235F #4D105F
monochromatic
#141A04 #212B07 #4A5F10 #739319 #9CC822

Accessibility & contrast

On white

7.15
#4A5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4A5F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5F10
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5F10#FFFFFF#000000##FFFFFF
##4A5F101.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#625718
Tritanopia (blue-blind)
#4E5A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a5f10;
/* rgb */ color: rgb(74, 95, 16);
/* oklch */ color: oklch(45.2% 0.104 124.0);
Tailwind
colors: {
  custom: {
    50: '#7f8c56',
    500: '#4a5f10',
    950: '#000000',
  },
}
SCSS
$custom: #4a5f10;
$custom-light: #7f8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5f10",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 75.949,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.10388,
    "h": 124
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#4A5F10
secondary
#4E3398
accent
#3AEE6A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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