#84781B#84781B

#84781B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.109 H 101.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#84781B
RGBrgb(132, 120, 27)
HSLhsl(53, 66%, 31%)
HSVhsv(53, 80%, 52%)
CMYKcmyk(0%, 9.1%, 79.5%, 48.2%)
CIE-LABlab(50.00, -5.95, 48.86)
CIE-LCHlch(50.00, 49.22, 96.94°)
OKLaboklab(56.69% -0.0218 0.1066)
OKLCHoklch(56.69% 0.109 101.6)
XYZxyz(16.4308, 18.4184, 3.7263)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84781B #1B2784
analogous
#84431B #84781B #5B841B
triadic
#84781B #1B8478 #781B84
tetradic
#84781B #1B8443 #1B2784 #841B5B
square
#84781B #1B8443 #1B2784 #841B5B
split-complementary
#84781B #1B5B84 #431B84
monochromatic
#1E1C06 #514A11 #84781B #B7A625 #D8C741

Accessibility & contrast

On white

4.48
#84781B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#84781B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #84781B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84781B#FFFFFF#000000##000000
##84781B1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#8F6F67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #84781b;
/* rgb */ color: rgb(132, 120, 27);
/* oklch */ color: oklch(56.7% 0.109 101.6);
Tailwind
colors: {
  custom: {
    50: '#ab9e60',
    500: '#84781b',
    950: '#000000',
  },
}
SCSS
$custom: #84781b;
$custom-light: #ab9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#84781b",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 53.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.1088,
    "h": 101.6
  },
  "luminance": 0.18418
}

Semantic roles & 50–950 ramp

primary
#84781B
secondary
#4351B7
accent
#52E93F
background
#FAF9F5
surface
#F5F2EA
border
#CFCCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #84781B

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

Preview Lab → · Contrast checker → · Palette generator →

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