#454F0C#454F0C

#454F0C is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.5% C 0.087 H 118.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#454F0C
RGBrgb(69, 79, 12)
HSLhsl(69, 74%, 18%)
HSVhsv(69, 85%, 31%)
CMYKcmyk(12.7%, 0%, 84.8%, 69%)
CIE-LABlab(31.54, -13.70, 35.15)
CIE-LCHlch(31.54, 37.73, 111.29°)
OKLaboklab(40.52% -0.0412 0.0771)
OKLCHoklch(40.52% 0.087 118.1)
XYZxyz(5.3167, 6.8838, 1.3964)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#454F0C #160C4F
analogous
#4F370C #454F0C #244F0C
triadic
#454F0C #0C454F #4F0C45
tetradic
#454F0C #0C4F37 #160C4F #4F0C24
square
#454F0C #0C4F37 #160C4F #4F0C24
split-complementary
#454F0C #0C244F #370C4F
monochromatic
#171B04 #171B04 #454F0C #738414 #A2B91C

Accessibility & contrast

On white

8.84
#454F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #454F0C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##454F0C#FFFFFF#000000##FFFFFF
##454F0C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #454f0c;
/* rgb */ color: rgb(69, 79, 12);
/* oklch */ color: oklch(40.5% 0.087 118.1);
Tailwind
colors: {
  custom: {
    50: '#7b8051',
    500: '#454f0c',
    950: '#000000',
  },
}
SCSS
$custom: #454f0c;
$custom-light: #7b8051;
$custom-dark: #000000;
JSON
{
  "hex": "#454f0c",
  "rgb": {
    "r": 69,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 68.955,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.08738,
    "h": 118.1
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#454F0C
secondary
#3A2C8B
accent
#38F053
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #454F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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