#42450F#42450F

#42450F is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.6% C 0.074 H 112.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#42450F
RGBrgb(66, 69, 15)
HSLhsl(63, 64%, 16%)
HSVhsv(63, 78%, 27%)
CMYKcmyk(4.3%, 0%, 78.3%, 72.9%)
CIE-LABlab(27.98, -9.20, 30.48)
CIE-LCHlch(27.98, 31.84, 106.79°)
OKLaboklab(37.6% -0.0282 0.0679)
OKLCHoklch(37.6% 0.074 112.6)
XYZxyz(4.4612, 5.4491, 1.2686)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42450F #120F45
analogous
#452D0F #42450F #27450F
triadic
#42450F #0F4245 #450F42
tetradic
#42450F #0F452D #120F45 #450F27
square
#42450F #0F452D #120F45 #450F27
split-complementary
#42450F #0F2745 #2D0F45
monochromatic
#181905 #181905 #42450F #72771A #A2AA25

Accessibility & contrast

On white

10.05
#42450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#42450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42450F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42450F#FFFFFF#000000##FFFFFF
##42450F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4106
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#47403A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #42450f;
/* rgb */ color: rgb(66, 69, 15);
/* oklch */ color: oklch(37.6% 0.074 112.6);
Tailwind
colors: {
  custom: {
    50: '#787851',
    500: '#42450f',
    950: '#000000',
  },
}
SCSS
$custom: #42450f;
$custom-light: #787851;
$custom-dark: #000000;
JSON
{
  "hex": "#42450f",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 63.333,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37596,
    "c": 0.07355,
    "h": 112.6
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#42450F
secondary
#35307F
accent
#41E74A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42450F

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

Preview Lab → · Contrast checker → · Palette generator →

#42450F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva