#454912#454912

#454912 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.0% C 0.075 H 113.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#454912
RGBrgb(69, 73, 18)
HSLhsl(64, 60%, 18%)
HSVhsv(64, 75%, 29%)
CMYKcmyk(5.5%, 0%, 75.3%, 71.4%)
CIE-LABlab(29.60, -9.87, 30.84)
CIE-LCHlch(29.60, 32.39, 107.75°)
OKLaboklab(38.97% -0.03 0.0692)
OKLCHoklch(38.97% 0.075 113.4)
XYZxyz(4.9461, 6.0741, 1.4840)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#454912 #161249
analogous
#493112 #454912 #294912
triadic
#454912 #124549 #491245
tetradic
#454912 #124931 #161249 #491229
square
#454912 #124931 #161249 #491229
split-complementary
#454912 #122949 #311249
monochromatic
#171906 #171906 #454912 #737A1E #A2AB2A

Accessibility & contrast

On white

9.48
#454912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#454912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #454912
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##454912#FFFFFF#000000##FFFFFF
##4549121.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450A
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#4A443E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #454912;
/* rgb */ color: rgb(69, 73, 18);
/* oklch */ color: oklch(39.0% 0.075 113.4);
Tailwind
colors: {
  custom: {
    50: '#7b7b54',
    500: '#454912',
    950: '#000000',
  },
}
SCSS
$custom: #454912;
$custom-light: #7b7b54;
$custom-dark: #000000;
JSON
{
  "hex": "#454912",
  "rgb": {
    "r": 69,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 64.364,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3897,
    "c": 0.07538,
    "h": 113.4
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#454912
secondary
#3A3582
accent
#44E450
background
#F7F7F4
surface
#EEEDE8
border
#C9C8C4
text
#090903
muted
#7B7B78

Preview Lab

Preview with #454912

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

Preview Lab → · Contrast checker → · Palette generator →

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