#8D782B#8D782B

#8D782B is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.099 H 93.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D782B
RGBrgb(141, 120, 43)
HSLhsl(47, 53%, 36%)
HSVhsv(47, 70%, 55%)
CMYKcmyk(0%, 14.9%, 69.5%, 44.7%)
CIE-LABlab(51.00, -0.94, 43.67)
CIE-LCHlch(51.00, 43.68, 91.24°)
OKLaboklab(57.73% -0.0063 0.0984)
OKLCHoklch(57.73% 0.099 93.7)
XYZxyz(18.1379, 19.2711, 5.0494)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D782B #2B408D
analogous
#8D472B #8D782B #718D2B
triadic
#8D782B #2B8D78 #782B8D
tetradic
#8D782B #2B8D47 #2B408D #8D2B71
square
#8D782B #2B8D47 #2B408D #8D2B71
split-complementary
#8D782B #2B718D #472B8D
monochromatic
#2F280E #5E501D #8D782B #BCA039 #CFB863

Accessibility & contrast

On white

4.33
#8D782B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8D782B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D782B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D782B#FFFFFF#000000##000000
##8D782B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857621
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#986F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d782b;
/* rgb */ color: rgb(141, 120, 43);
/* oklch */ color: oklch(57.7% 0.099 93.7);
Tailwind
colors: {
  custom: {
    50: '#b19e69',
    500: '#8d782b',
    950: '#000000',
  },
}
SCSS
$custom: #8d782b;
$custom-light: #b19e69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d782b",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 43
  },
  "hsl": {
    "h": 47.143,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57734,
    "c": 0.09857,
    "h": 93.7
  },
  "luminance": 0.1927
}

Semantic roles & 50–950 ramp

primary
#8D782B
secondary
#5E71B6
accent
#6ADD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D782B

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

Preview Lab → · Contrast checker → · Palette generator →

#8D782B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva