#62571A#62571A

#62571A is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.5% C 0.080 H 98.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#62571A
RGBrgb(98, 87, 26)
HSLhsl(51, 58%, 24%)
HSVhsv(51, 73%, 38%)
CMYKcmyk(0%, 11.2%, 73.5%, 61.6%)
CIE-LABlab(36.91, -3.30, 35.51)
CIE-LCHlch(36.91, 35.66, 95.31°)
OKLaboklab(45.5% -0.0124 0.0795)
OKLCHoklch(45.5% 0.08 98.9)
XYZxyz(8.6320, 9.4881, 2.3538)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62571A #1A2562
analogous
#62331A #62571A #49621A
triadic
#62571A #1A6257 #571A62
tetradic
#62571A #1A6233 #1A2562 #621A49
square
#62571A #1A6233 #1A2562 #621A49
split-complementary
#62571A #1A4962 #331A62
monochromatic
#181506 #322C0D #62571A #928227 #C3AD34

Accessibility & contrast

On white

7.25
#62571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#62571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62571A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62571A#FFFFFF#000000##FFFFFF
##62571A1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605511
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#6A504B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #62571a;
/* rgb */ color: rgb(98, 87, 26);
/* oklch */ color: oklch(45.5% 0.080 98.9);
Tailwind
colors: {
  custom: {
    50: '#91865b',
    500: '#62571a',
    950: '#000000',
  },
}
SCSS
$custom: #62571a;
$custom-light: #91865b;
$custom-dark: #000000;
JSON
{
  "hex": "#62571a",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 50.833,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.08046,
    "h": 98.9
  },
  "luminance": 0.09488
}

Semantic roles & 50–950 ramp

primary
#62571A
secondary
#404D98
accent
#5EE147
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #62571A

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

Preview Lab → · Contrast checker → · Palette generator →

#62571A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva