#485018#485018

#485018 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.2% C 0.079 H 116.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#485018
RGBrgb(72, 80, 24)
HSLhsl(69, 54%, 20%)
HSVhsv(69, 70%, 31%)
CMYKcmyk(10%, 0%, 70%, 68.6%)
CIE-LABlab(32.22, -12.05, 30.81)
CIE-LCHlch(32.22, 33.08, 111.35°)
OKLaboklab(41.15% -0.0356 0.0701)
OKLCHoklch(41.15% 0.079 116.9)
XYZxyz(5.7061, 7.1811, 1.9495)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#485018 #201850
analogous
#503C18 #485018 #2C5018
triadic
#485018 #184850 #501848
tetradic
#485018 #18503C #201850 #50182C
square
#485018 #18503C #201850 #50182C
split-complementary
#485018 #182C50 #3C1850
monochromatic
#151807 #1E210A #485018 #727F26 #9DAE34

Accessibility & contrast

On white

8.62
#485018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#485018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #485018
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##485018#FFFFFF#000000##FFFFFF
##4850181.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C11
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#4D4B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #485018;
/* rgb */ color: rgb(72, 80, 24);
/* oklch */ color: oklch(41.2% 0.079 116.9);
Tailwind
colors: {
  custom: {
    50: '#7d8158',
    500: '#485018',
    950: '#000000',
  },
}
SCSS
$custom: #485018;
$custom-light: #7d8158;
$custom-dark: #000000;
JSON
{
  "hex": "#485018",
  "rgb": {
    "r": 72,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 68.571,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.07857,
    "h": 116.9
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#485018
secondary
#483D87
accent
#4BDD60
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #485018

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

Preview Lab → · Contrast checker → · Palette generator →

#485018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva