#4A6315#4A6315

#4A6315 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.3% C 0.106 H 126.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4A6315
RGBrgb(74, 99, 21)
HSLhsl(79, 65%, 24%)
HSVhsv(79, 79%, 39%)
CMYKcmyk(25.3%, 0%, 78.8%, 61.2%)
CIE-LABlab(38.61, -21.68, 38.61)
CIE-LCHlch(38.61, 44.28, 119.31°)
OKLaboklab(46.34% -0.0626 0.0859)
OKLCHoklch(46.34% 0.106 126.1)
XYZxyz(7.4213, 10.4336, 2.3322)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6315 #2E1563
analogous
#635515 #4A6315 #236315
triadic
#4A6315 #154A63 #63154A
tetradic
#4A6315 #156355 #2E1563 #631523
square
#4A6315 #156355 #2E1563 #631523
split-complementary
#4A6315 #152363 #551563
monochromatic
#131905 #24310A #4A6315 #709520 #95C82A

Accessibility & contrast

On white

6.80
#4A6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4A6315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6315
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6315#FFFFFF#000000##FFFFFF
##4A63151.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C05
Deuteranopia (green-blind)
#655B1C
Tritanopia (blue-blind)
#4D5E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a6315;
/* rgb */ color: rgb(74, 99, 21);
/* oklch */ color: oklch(46.3% 0.106 126.1);
Tailwind
colors: {
  custom: {
    50: '#7f8f59',
    500: '#4a6315',
    950: '#000000',
  },
}
SCSS
$custom: #4a6315;
$custom-light: #7f8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6315",
  "rgb": {
    "r": 74,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 79.231,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46342,
    "c": 0.10628,
    "h": 126.1
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#4A6315
secondary
#593A9A
accent
#40E876
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6315

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

Preview Lab → · Contrast checker → · Palette generator →

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