#62571F#62571F

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

Color values

HEX#62571F
RGBrgb(98, 87, 31)
HSLhsl(50, 52%, 25%)
HSVhsv(50, 68%, 38%)
CMYKcmyk(0%, 11.2%, 68.4%, 61.6%)
CIE-LABlab(36.95, -2.97, 33.16)
CIE-LCHlch(36.95, 33.30, 95.12°)
OKLaboklab(45.55% -0.0108 0.0755)
OKLCHoklch(45.55% 0.076 98.1)
XYZxyz(8.6929, 9.5124, 2.6742)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62571F #1F2A62
analogous
#62351F #62571F #4B621F
triadic
#62571F #1F6257 #571F62
tetradic
#62571F #1F6235 #1F2A62 #621F4B
square
#62571F #1F6235 #1F2A62 #621F4B
split-complementary
#62571F #1F4B62 #351F62
monochromatic
#171507 #342E10 #62571F #90802E #BFAA3C

Accessibility & contrast

On white

7.24
#62571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62571F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62571F#FFFFFF#000000##FFFFFF
##62571F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#6A504B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #62571f;
/* rgb */ color: rgb(98, 87, 31);
/* oklch */ color: oklch(45.5% 0.076 98.1);
Tailwind
colors: {
  custom: {
    50: '#91865e',
    500: '#62571f',
    950: '#000000',
  },
}
SCSS
$custom: #62571f;
$custom-light: #91865e;
$custom-dark: #000000;
JSON
{
  "hex": "#62571f",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 50.149,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.07623,
    "h": 98.1
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#62571F
secondary
#465397
accent
#64DB4C
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #62571F

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

Preview Lab → · Contrast checker → · Palette generator →

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