#4A5115#4A5115

#4A5115 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.082 H 115.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4A5115
RGBrgb(74, 81, 21)
HSLhsl(67, 59%, 20%)
HSVhsv(67, 74%, 32%)
CMYKcmyk(8.6%, 0%, 74.1%, 68.2%)
CIE-LABlab(32.69, -11.87, 32.76)
CIE-LCHlch(32.69, 34.84, 109.92°)
OKLaboklab(41.57% -0.0356 0.0736)
OKLCHoklch(41.57% 0.082 115.8)
XYZxyz(5.9020, 7.3949, 1.8258)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5115 #1C1551
analogous
#513A15 #4A5115 #2C5115
triadic
#4A5115 #154A51 #51154A
tetradic
#4A5115 #15513A #1C1551 #51152C
square
#4A5115 #15513A #1C1551 #51152C
split-complementary
#4A5115 #152C51 #3A1551
monochromatic
#161806 #1E2008 #4A5115 #768222 #A3B22E

Accessibility & contrast

On white

8.47
#4A5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4A5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5115
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5115#FFFFFF#000000##FFFFFF
##4A51151.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0C
Deuteranopia (green-blind)
#574D19
Tritanopia (blue-blind)
#4F4C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a5115;
/* rgb */ color: rgb(74, 81, 21);
/* oklch */ color: oklch(41.6% 0.082 115.8);
Tailwind
colors: {
  custom: {
    50: '#7f8156',
    500: '#4a5115',
    950: '#000000',
  },
}
SCSS
$custom: #4a5115;
$custom-light: #7f8156;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5115",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 67,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.41566,
    "c": 0.08173,
    "h": 115.8
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#4A5115
secondary
#423989
accent
#46E258
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5115

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

Preview Lab → · Contrast checker → · Palette generator →

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