#4A5F0E#4A5F0E

#4A5F0E is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.2% C 0.105 H 123.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4A5F0E
RGBrgb(74, 95, 14)
HSLhsl(76, 74%, 21%)
HSVhsv(76, 85%, 37%)
CMYKcmyk(22.1%, 0%, 85.3%, 62.7%)
CIE-LABlab(37.25, -19.97, 39.81)
CIE-LCHlch(37.25, 44.54, 116.65°)
OKLaboklab(45.23% -0.0585 0.0871)
OKLCHoklch(45.23% 0.105 123.9)
XYZxyz(6.9956, 9.6719, 1.9137)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5F0E #230E5F
analogous
#5F4C0E #4A5F0E #225F0E
triadic
#4A5F0E #0E4A5F #5F0E4A
tetradic
#4A5F0E #0E5F4C #230E5F #5F0E22
square
#4A5F0E #0E5F4C #230E5F #5F0E22
split-complementary
#4A5F0E #0E225F #4C0E5F
monochromatic
#151B04 #202A06 #4A5F0E #749416 #9DCA1E

Accessibility & contrast

On white

7.16
#4A5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4A5F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5F0E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5F0E#FFFFFF#000000##FFFFFF
##4A5F0E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#4E5A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a5f0e;
/* rgb */ color: rgb(74, 95, 14);
/* oklch */ color: oklch(45.2% 0.105 123.9);
Tailwind
colors: {
  custom: {
    50: '#7f8c55',
    500: '#4a5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #4a5f0e;
$custom-light: #7f8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5f0e",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 75.556,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45225,
    "c": 0.10496,
    "h": 123.9
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#4A5F0E
secondary
#4B3099
accent
#37F167
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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