#454F12#454F12

#454F12 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.6% C 0.083 H 118.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#454F12
RGBrgb(69, 79, 18)
HSLhsl(70, 63%, 19%)
HSVhsv(70, 77%, 31%)
CMYKcmyk(12.7%, 0%, 77.2%, 69%)
CIE-LABlab(31.58, -13.35, 32.83)
CIE-LCHlch(31.58, 35.44, 112.14°)
OKLaboklab(40.56% -0.0397 0.0733)
OKLCHoklch(40.56% 0.083 118.4)
XYZxyz(5.3595, 6.9009, 1.6218)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#454F12 #1C124F
analogous
#4F3B12 #454F12 #274F12
triadic
#454F12 #12454F #4F1245
tetradic
#454F12 #124F3B #1C124F #4F1227
square
#454F12 #124F3B #1C124F #4F1227
split-complementary
#454F12 #12274F #3B124F
monochromatic
#161906 #191D07 #454F12 #71811D #9CB329

Accessibility & contrast

On white

8.82
#454F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#454F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #454F12
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##454F12#FFFFFF#000000##FFFFFF
##454F121.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A08
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#4A4A43
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #454f12;
/* rgb */ color: rgb(69, 79, 18);
/* oklch */ color: oklch(40.6% 0.083 118.4);
Tailwind
colors: {
  custom: {
    50: '#7b8054',
    500: '#454f12',
    950: '#000000',
  },
}
SCSS
$custom: #454f12;
$custom-light: #7b8054;
$custom-dark: #000000;
JSON
{
  "hex": "#454f12",
  "rgb": {
    "r": 69,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 69.836,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4056,
    "c": 0.08337,
    "h": 118.4
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#454F12
secondary
#423588
accent
#42E65D
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #454F12

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

Preview Lab → · Contrast checker → · Palette generator →

#454F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva