#45460C#45460C

#45460C is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.1% C 0.076 H 110.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#45460C
RGBrgb(69, 70, 12)
HSLhsl(61, 71%, 16%)
HSVhsv(61, 83%, 27%)
CMYKcmyk(1.4%, 0%, 82.9%, 72.5%)
CIE-LABlab(28.57, -8.45, 32.41)
CIE-LCHlch(28.57, 33.49, 104.61°)
OKLaboklab(38.13% -0.0267 0.0712)
OKLCHoklch(38.13% 0.076 110.5)
XYZxyz(4.7109, 5.6722, 1.1944)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45460C #0D0C46
analogous
#462A0C #45460C #28460C
triadic
#45460C #0C4546 #460C45
tetradic
#45460C #0C462A #0D0C46 #460C28
square
#45460C #0C462A #0D0C46 #460C28
split-complementary
#45460C #0C2846 #2A0C46
monochromatic
#1A1A04 #1A1A04 #45460C #787A15 #ACAE1E

Accessibility & contrast

On white

9.84
#45460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#45460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45460C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45460C#FFFFFF#000000##FFFFFF
##45460C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4302
Deuteranopia (green-blind)
#4D4411
Tritanopia (blue-blind)
#4A413B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #45460c;
/* rgb */ color: rgb(69, 70, 12);
/* oklch */ color: oklch(38.1% 0.076 110.5);
Tailwind
colors: {
  custom: {
    50: '#7b7950',
    500: '#45460c',
    950: '#000000',
  },
}
SCSS
$custom: #45460c;
$custom-light: #7b7950;
$custom-dark: #000000;
JSON
{
  "hex": "#45460c",
  "rgb": {
    "r": 69,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 61.034,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.38133,
    "c": 0.07606,
    "h": 110.5
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#45460C
secondary
#2D2C82
accent
#3AED3D
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #45460C

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

Preview Lab → · Contrast checker → · Palette generator →

#45460C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva