#62581F#62581F

#62581F is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.8% C 0.077 H 99.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#62581F
RGBrgb(98, 88, 31)
HSLhsl(51, 52%, 25%)
HSVhsv(51, 68%, 38%)
CMYKcmyk(0%, 10.2%, 68.4%, 61.6%)
CIE-LABlab(37.25, -3.56, 33.48)
CIE-LCHlch(37.25, 33.67, 96.08°)
OKLaboklab(45.79% -0.0125 0.0762)
OKLCHoklch(45.79% 0.077 99.3)
XYZxyz(8.7744, 9.6754, 2.7014)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62581F #1F2962
analogous
#62361F #62581F #4A621F
triadic
#62581F #1F6258 #581F62
tetradic
#62581F #1F6236 #1F2962 #621F4A
square
#62581F #1F6236 #1F2962 #621F4A
split-complementary
#62581F #1F4A62 #361F62
monochromatic
#171507 #342E10 #62581F #90822E #BFAB3C

Accessibility & contrast

On white

7.16
#62581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#62581F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62581F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62581F#FFFFFF#000000##FFFFFF
##62581F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#6A514C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #62581f;
/* rgb */ color: rgb(98, 88, 31);
/* oklch */ color: oklch(45.8% 0.077 99.3);
Tailwind
colors: {
  custom: {
    50: '#91865e',
    500: '#62581f',
    950: '#000000',
  },
}
SCSS
$custom: #62581f;
$custom-light: #91865e;
$custom-dark: #000000;
JSON
{
  "hex": "#62581f",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 51.045,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.07717,
    "h": 99.3
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#62581F
secondary
#465297
accent
#62DB4C
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #62581F

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

Preview Lab → · Contrast checker → · Palette generator →

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