#42450E#42450E

#42450E 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#42450E
RGBrgb(66, 69, 14)
HSLhsl(63, 66%, 16%)
HSVhsv(63, 80%, 27%)
CMYKcmyk(4.3%, 0%, 79.7%, 72.9%)
CIE-LABlab(27.97, -9.26, 30.91)
CIE-LCHlch(27.97, 32.27, 106.68°)
OKLaboklab(37.59% -0.0285 0.0686)
OKLCHoklch(37.59% 0.074 112.6)
XYZxyz(4.4543, 5.4463, 1.2320)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42450E #110E45
analogous
#452D0E #42450E #27450E
triadic
#42450E #0E4245 #450E42
tetradic
#42450E #0E452D #110E45 #450E27
square
#42450E #0E452D #110E45 #450E27
split-complementary
#42450E #0E2745 #2D0E45
monochromatic
#181905 #181905 #42450E #737818 #A3AB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42450E#FFFFFF#000000##FFFFFF
##42450E1.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)
#4B4105
Deuteranopia (green-blind)
#4B4312
Tritanopia (blue-blind)
#47403A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #42450e;
/* rgb */ color: rgb(66, 69, 14);
/* oklch */ color: oklch(37.6% 0.074 112.6);
Tailwind
colors: {
  custom: {
    50: '#787851',
    500: '#42450e',
    950: '#000000',
  },
}
SCSS
$custom: #42450e;
$custom-light: #787851;
$custom-dark: #000000;
JSON
{
  "hex": "#42450e",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 63.273,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.07431,
    "h": 112.6
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#42450E
secondary
#332F80
accent
#3FE948
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42450E

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

Preview Lab → · Contrast checker → · Palette generator →

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