#4A6015#4A6015

#4A6015 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.5% C 0.102 H 124.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4A6015
RGBrgb(74, 96, 21)
HSLhsl(78, 64%, 23%)
HSVhsv(78, 78%, 38%)
CMYKcmyk(22.9%, 0%, 78.1%, 62.4%)
CIE-LABlab(37.62, -20.12, 37.65)
CIE-LCHlch(37.62, 42.69, 118.12°)
OKLaboklab(45.54% -0.0583 0.0839)
OKLCHoklch(45.54% 0.102 124.8)
XYZxyz(7.1423, 9.8757, 2.2392)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6015 #2B1560
analogous
#605015 #4A6015 #246015
triadic
#4A6015 #154A60 #60154A
tetradic
#4A6015 #156050 #2B1560 #601524
square
#4A6015 #156050 #2B1560 #601524
split-complementary
#4A6015 #152460 #501560
monochromatic
#131905 #232E0A #4A6015 #719220 #97C42B

Accessibility & contrast

On white

7.06
#4A6015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4A6015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A6015
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6015#FFFFFF#000000##FFFFFF
##4A60151.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665907
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#4E5B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a6015;
/* rgb */ color: rgb(74, 96, 21);
/* oklch */ color: oklch(45.5% 0.102 124.8);
Tailwind
colors: {
  custom: {
    50: '#7f8d58',
    500: '#4a6015',
    950: '#000000',
  },
}
SCSS
$custom: #4a6015;
$custom-light: #7f8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6015",
  "rgb": {
    "r": 74,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 77.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.10216,
    "h": 124.8
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#4A6015
secondary
#553A97
accent
#41E772
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6015

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

Preview Lab → · Contrast checker → · Palette generator →

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