#45470C#45470C

#45470C is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.4% C 0.077 H 111.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#45470C
RGBrgb(69, 71, 12)
HSLhsl(62, 71%, 16%)
HSVhsv(62, 83%, 28%)
CMYKcmyk(2.8%, 0%, 83.1%, 72.2%)
CIE-LABlab(28.90, -9.05, 32.71)
CIE-LCHlch(28.90, 33.94, 105.46°)
OKLaboklab(38.4% -0.0283 0.0719)
OKLCHoklch(38.4% 0.077 111.5)
XYZxyz(4.7740, 5.7984, 1.2155)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45470C #0E0C47
analogous
#472C0C #45470C #28470C
triadic
#45470C #0C4547 #470C45
tetradic
#45470C #0C472C #0E0C47 #470C28
square
#45470C #0C472C #0E0C47 #470C28
split-complementary
#45470C #0C2847 #2C0C47
monochromatic
#191A04 #191A04 #45470C #787B15 #ABB01E

Accessibility & contrast

On white

9.72
#45470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#45470C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45470C
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45470C#FFFFFF#000000##FFFFFF
##45470C1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4302
Deuteranopia (green-blind)
#4E4511
Tritanopia (blue-blind)
#4A423C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #45470c;
/* rgb */ color: rgb(69, 71, 12);
/* oklch */ color: oklch(38.4% 0.077 111.5);
Tailwind
colors: {
  custom: {
    50: '#7b7a50',
    500: '#45470c',
    950: '#000000',
  },
}
SCSS
$custom: #45470c;
$custom-light: #7b7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#45470c",
  "rgb": {
    "r": 69,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 62.034,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.38395,
    "c": 0.07726,
    "h": 111.5
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#45470C
secondary
#2F2C83
accent
#3AEE40
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #45470C

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

Preview Lab → · Contrast checker → · Palette generator →

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