#787D43#787D43

#787D43 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.081 H 113.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787D43
RGBrgb(120, 125, 67)
HSLhsl(65, 30%, 38%)
HSVhsv(65, 46%, 49%)
CMYKcmyk(4%, 0%, 46.4%, 51%)
CIE-LABlab(50.76, -11.17, 30.85)
CIE-LCHlch(50.76, 32.81, 109.90°)
OKLaboklab(57.17% -0.0314 0.0741)
OKLCHoklch(57.17% 0.081 113)
XYZxyz(16.0927, 19.0658, 8.1414)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D43 #48437D
analogous
#7D6543 #787D43 #5B7D43
triadic
#787D43 #43787D #7D4378
tetradic
#787D43 #437D65 #48437D #7D435B
square
#787D43 #437D65 #48437D #7D435B
split-complementary
#787D43 #435B7D #65437D
monochromatic
#2B2D18 #52552E #787D43 #9EA558 #B6BB80

Accessibility & contrast

On white

4.36
#787D43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#787D43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D43
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D43#FFFFFF#000000##000000
##787D431.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783E
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#7E776F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787d43;
/* rgb */ color: rgb(120, 125, 67);
/* oklch */ color: oklch(57.2% 0.081 113.0);
Tailwind
colors: {
  custom: {
    50: '#a0a278',
    500: '#787d43',
    950: '#000000',
  },
}
SCSS
$custom: #787d43;
$custom-light: #a0a278;
$custom-dark: #000000;
JSON
{
  "hex": "#787d43",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 67
  },
  "hsl": {
    "h": 65.172,
    "s": 30.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.08052,
    "h": 113
  },
  "luminance": 0.19066
}

Semantic roles & 50–950 ramp

primary
#787D43
secondary
#7A76A6
accent
#61C66A
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0F09
muted
#7E7E7B

Preview Lab

Preview with #787D43

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

Preview Lab → · Contrast checker → · Palette generator →

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