#807342#807342

#807342 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.6% C 0.070 H 95.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#807342
RGBrgb(128, 115, 66)
HSLhsl(47, 32%, 38%)
HSVhsv(47, 48%, 50%)
CMYKcmyk(0%, 10.2%, 48.4%, 49.8%)
CIE-LABlab(48.57, -2.13, 28.84)
CIE-LCHlch(48.57, 28.92, 94.23°)
OKLaboklab(55.59% -0.006 0.0695)
OKLCHoklch(55.59% 0.07 95)
XYZxyz(16.0167, 17.2446, 7.6381)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807342 #424F80
analogous
#805442 #807342 #6E8042
triadic
#807342 #428073 #734280
tetradic
#807342 #428054 #424F80 #80426E
square
#807342 #428054 #424F80 #80426E
split-complementary
#807342 #426E80 #544280
monochromatic
#2F2A18 #584F2D #807342 #A89757 #BDB07F

Accessibility & contrast

On white

4.72
#807342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#807342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807342
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807342#FFFFFF#000000##FFFFFF
##8073421.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713E
Deuteranopia (green-blind)
#807544
Tritanopia (blue-blind)
#886C67
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #807342;
/* rgb */ color: rgb(128, 115, 66);
/* oklch */ color: oklch(55.6% 0.070 95.0);
Tailwind
colors: {
  custom: {
    50: '#a69b77',
    500: '#807342',
    950: '#000000',
  },
}
SCSS
$custom: #807342;
$custom-light: #a69b77;
$custom-dark: #000000;
JSON
{
  "hex": "#807342",
  "rgb": {
    "r": 128,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 47.419,
    "s": 31.959,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5559,
    "c": 0.06971,
    "h": 95
  },
  "luminance": 0.17244
}

Semantic roles & 50–950 ramp

primary
#807342
secondary
#7680A8
accent
#76C860
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #807342

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

Preview Lab → · Contrast checker → · Palette generator →

#807342 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva