#807727#807727

#807727 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.2% C 0.100 H 102.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#807727
RGBrgb(128, 119, 39)
HSLhsl(54, 53%, 33%)
HSVhsv(54, 70%, 50%)
CMYKcmyk(0%, 7%, 69.5%, 49.8%)
CIE-LABlab(49.41, -6.64, 43.40)
CIE-LCHlch(49.41, 43.91, 98.70°)
OKLaboklab(56.16% -0.0222 0.0976)
OKLCHoklch(56.16% 0.1 102.8)
XYZxyz(15.8658, 17.9300, 4.5442)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807727 #273080
analogous
#804B27 #807727 #5C8027
triadic
#807727 #278077 #772780
tetradic
#807727 #27804B #273080 #80275C
square
#807727 #27804B #273080 #80275C
split-complementary
#807727 #275C80 #4B2780
monochromatic
#22200A #514B19 #807727 #AFA335 #CBC056

Accessibility & contrast

On white

4.58
#807727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#807727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807727
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807727#FFFFFF#000000##000000
##8077271.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82731C
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#8A6F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #807727;
/* rgb */ color: rgb(128, 119, 39);
/* oklch */ color: oklch(56.2% 0.100 102.8);
Tailwind
colors: {
  custom: {
    50: '#a89e66',
    500: '#807727',
    950: '#000000',
  },
}
SCSS
$custom: #807727;
$custom-light: #a89e66;
$custom-dark: #000000;
JSON
{
  "hex": "#807727",
  "rgb": {
    "r": 128,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 53.933,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.10006,
    "h": 102.8
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#807727
secondary
#535CB0
accent
#5ADD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807727

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

Preview Lab → · Contrast checker → · Palette generator →

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