#807E34#807E34

#807E34 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.096 H 107.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#807E34
RGBrgb(128, 126, 52)
HSLhsl(58, 42%, 35%)
HSVhsv(58, 59%, 50%)
CMYKcmyk(0%, 1.6%, 59.4%, 49.8%)
CIE-LABlab(51.56, -9.60, 39.68)
CIE-LCHlch(51.56, 40.83, 103.60°)
OKLaboklab(57.91% -0.0291 0.0917)
OKLCHoklch(57.91% 0.096 107.6)
XYZxyz(16.9833, 19.7593, 6.1675)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E34 #343680
analogous
#805834 #807E34 #5C8034
triadic
#807E34 #34807E #7E3480
tetradic
#807E34 #348058 #343680 #80345C
square
#807E34 #348058 #343680 #80345C
split-complementary
#807E34 #345C80 #583480
monochromatic
#292811 #545322 #807E34 #ACA946 #C3C16B

Accessibility & contrast

On white

4.24
#807E34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#807E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E34
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E34#FFFFFF#000000##000000
##807E341.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88792C
Deuteranopia (green-blind)
#897C38
Tritanopia (blue-blind)
#89766E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807e34;
/* rgb */ color: rgb(128, 126, 52);
/* oklch */ color: oklch(57.9% 0.096 107.6);
Tailwind
colors: {
  custom: {
    50: '#a7a36e',
    500: '#807e34',
    950: '#000000',
  },
}
SCSS
$custom: #807e34;
$custom-light: #a7a36e;
$custom-dark: #000000;
JSON
{
  "hex": "#807e34",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 58.421,
    "s": 42.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.09618,
    "h": 107.6
  },
  "luminance": 0.19759
}

Semantic roles & 50–950 ramp

primary
#807E34
secondary
#6567AB
accent
#59D256
background
#FAFAF6
surface
#F4F3EC
border
#CECDC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #807E34

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

Preview Lab → · Contrast checker → · Palette generator →

#807E34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva