#4A5F13#4A5F13

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

Color values

HEX#4A5F13
RGBrgb(74, 95, 19)
HSLhsl(77, 67%, 22%)
HSVhsv(77, 80%, 37%)
CMYKcmyk(22.1%, 0%, 80%, 62.7%)
CIE-LABlab(37.28, -19.71, 38.09)
CIE-LCHlch(37.28, 42.89, 117.36°)
OKLaboklab(45.26% -0.0574 0.0844)
OKLCHoklch(45.26% 0.102 124.2)
XYZxyz(7.0339, 9.6872, 2.1152)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5F13 #28135F
analogous
#5F4E13 #4A5F13 #245F13
triadic
#4A5F13 #134A5F #5F134A
tetradic
#4A5F13 #135F4E #28135F #5F1324
square
#4A5F13 #135F4E #28135F #5F1324
split-complementary
#4A5F13 #13245F #4E135F
monochromatic
#141A05 #222C09 #4A5F13 #72921D #99C527

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A5F13#FFFFFF#000000##FFFFFF
##4A5F131.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)
#655804
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#4E5A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a5f13;
/* rgb */ color: rgb(74, 95, 19);
/* oklch */ color: oklch(45.3% 0.102 124.2);
Tailwind
colors: {
  custom: {
    50: '#7f8c57',
    500: '#4a5f13',
    950: '#000000',
  },
}
SCSS
$custom: #4a5f13;
$custom-light: #7f8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5f13",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 76.579,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45257,
    "c": 0.10209,
    "h": 124.2
  },
  "luminance": 0.09687
}

Semantic roles & 50–950 ramp

primary
#4A5F13
secondary
#513797
accent
#3EEA6E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A5F13

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

Preview Lab → · Contrast checker → · Palette generator →

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