#68571B#68571B

#68571B is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 46.2% C 0.080 H 92.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#68571B
RGBrgb(104, 87, 27)
HSLhsl(47, 59%, 26%)
HSVhsv(47, 74%, 41%)
CMYKcmyk(0%, 16.3%, 74%, 59.2%)
CIE-LABlab(37.55, -0.30, 35.90)
CIE-LCHlch(37.55, 35.91, 90.48°)
OKLaboklab(46.16% -0.0041 0.0803)
OKLCHoklch(46.16% 0.08 92.9)
XYZxyz(9.3154, 9.8391, 2.4452)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68571B #1B2C68
analogous
#68301B #68571B #52681B
triadic
#68571B #1B6857 #571B68
tetradic
#68571B #1B6830 #1B2C68 #681B52
square
#68571B #1B6830 #1B2C68 #681B52
split-complementary
#68571B #1B5268 #301B68
monochromatic
#181406 #372E0E #68571B #998028 #C9A834

Accessibility & contrast

On white

7.08
#68571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68571B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68571B#FFFFFF#000000##FFFFFF
##68571B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68571b;
/* rgb */ color: rgb(104, 87, 27);
/* oklch */ color: oklch(46.2% 0.080 92.9);
Tailwind
colors: {
  custom: {
    50: '#96865b',
    500: '#68571b',
    950: '#000000',
  },
}
SCSS
$custom: #68571b;
$custom-light: #96865b;
$custom-dark: #000000;
JSON
{
  "hex": "#68571b",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 46.753,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4616,
    "c": 0.08041,
    "h": 92.9
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#68571B
secondary
#42569D
accent
#68E246
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #68571B

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

Preview Lab → · Contrast checker → · Palette generator →

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