#4A7315#4A7315

#4A7315 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.6% C 0.128 H 131.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4A7315
RGBrgb(74, 115, 21)
HSLhsl(86, 69%, 27%)
HSVhsv(86, 82%, 45%)
CMYKcmyk(35.7%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.90, -29.55, 43.63)
CIE-LCHlch(43.90, 52.70, 124.11°)
OKLaboklab(50.65% -0.084 0.0964)
OKLCHoklch(50.65% 0.128 131)
XYZxyz(9.0901, 13.7711, 2.8885)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7315 #3E1573
analogous
#736D15 #4A7315 #1B7315
triadic
#4A7315 #154A73 #73154A
tetradic
#4A7315 #15736D #3E1573 #73151B
square
#4A7315 #15736D #3E1573 #73151B
split-complementary
#4A7315 #151B73 #6D1573
monochromatic
#111A05 #293F0C #4A7315 #6BA71E #8CD82A

Accessibility & contrast

On white

5.59
#4A7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4A7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7315
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7315#FFFFFF#000000##FFFFFF
##4A73151.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#4C6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a7315;
/* rgb */ color: rgb(74, 115, 21);
/* oklch */ color: oklch(50.6% 0.128 131.0);
Tailwind
colors: {
  custom: {
    50: '#819b5b',
    500: '#4a7315',
    950: '#000000',
  },
}
SCSS
$custom: #4a7315;
$custom-light: #819b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7315",
  "rgb": {
    "r": 74,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 86.17,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.12786,
    "h": 131
  },
  "luminance": 0.13771
}

Semantic roles & 50–950 ramp

primary
#4A7315
secondary
#6B3BA9
accent
#3CEC89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7315

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

Preview Lab → · Contrast checker → · Palette generator →

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