#68571F#68571F

#68571F is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.2% C 0.077 H 92.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#68571F
RGBrgb(104, 87, 31)
HSLhsl(46, 54%, 26%)
HSVhsv(46, 70%, 41%)
CMYKcmyk(0%, 16.3%, 70.2%, 59.2%)
CIE-LABlab(37.59, -0.05, 34.03)
CIE-LCHlch(37.59, 34.03, 90.08°)
OKLaboklab(46.2% -0.0028 0.0771)
OKLCHoklch(46.2% 0.077 92.1)
XYZxyz(9.3649, 9.8589, 2.7057)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68571F #1F3068
analogous
#68331F #68571F #55681F
triadic
#68571F #1F6857 #571F68
tetradic
#68571F #1F6833 #1F3068 #681F55
square
#68571F #1F6833 #1F3068 #681F55
split-complementary
#68571F #1F5568 #331F68
monochromatic
#181407 #393011 #68571F #977E2D #C5A53C

Accessibility & contrast

On white

7.07
#68571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#68571F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68571F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68571F#FFFFFF#000000##FFFFFF
##68571F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#655B22
Tritanopia (blue-blind)
#71504B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #68571f;
/* rgb */ color: rgb(104, 87, 31);
/* oklch */ color: oklch(46.2% 0.077 92.1);
Tailwind
colors: {
  custom: {
    50: '#96865e',
    500: '#68571f',
    950: '#000000',
  },
}
SCSS
$custom: #68571f;
$custom-light: #96865e;
$custom-dark: #000000;
JSON
{
  "hex": "#68571f",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 46.027,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.462,
    "c": 0.07715,
    "h": 92.1
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#68571F
secondary
#465A9C
accent
#6DDD4A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #68571F

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

Preview Lab → · Contrast checker → · Palette generator →

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