#787E35#787E35

#787E35 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.097 H 113.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#787E35
RGBrgb(120, 126, 53)
HSLhsl(65, 41%, 35%)
HSVhsv(65, 58%, 49%)
CMYKcmyk(4.8%, 0%, 57.9%, 50.6%)
CIE-LABlab(50.89, -13.10, 38.24)
CIE-LCHlch(50.89, 40.43, 108.91°)
OKLaboklab(57.21% -0.0384 0.0889)
OKLCHoklch(57.21% 0.097 113.4)
XYZxyz(15.8495, 19.1721, 6.2331)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E35 #3B357E
analogous
#7E6035 #787E35 #537E35
triadic
#787E35 #35787E #7E3578
tetradic
#787E35 #357E60 #3B357E #7E3553
square
#787E35 #357E60 #3B357E #7E3553
split-complementary
#787E35 #35537E #60357E
monochromatic
#262811 #4F5323 #787E35 #A1A947 #BAC16C

Accessibility & contrast

On white

4.34
#787E35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#787E35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E35
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E35#FFFFFF#000000##000000
##787E351.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87782D
Deuteranopia (green-blind)
#877A39
Tritanopia (blue-blind)
#7F776E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787e35;
/* rgb */ color: rgb(120, 126, 53);
/* oklch */ color: oklch(57.2% 0.097 113.4);
Tailwind
colors: {
  custom: {
    50: '#a1a36f',
    500: '#787e35',
    950: '#000000',
  },
}
SCSS
$custom: #787e35;
$custom-light: #a1a36f;
$custom-dark: #000000;
JSON
{
  "hex": "#787e35",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 53
  },
  "hsl": {
    "h": 64.932,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.09683,
    "h": 113.4
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#787E35
secondary
#6B65AA
accent
#57D161
background
#FAFAF6
surface
#F4F3EC
border
#CECDC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #787E35

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

Preview Lab → · Contrast checker → · Palette generator →

#787E35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva