#787C29#787C29

#787C29 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.105 H 112.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#787C29
RGBrgb(120, 124, 41)
HSLhsl(63, 50%, 32%)
HSVhsv(63, 67%, 49%)
CMYKcmyk(3.2%, 0%, 66.9%, 51.4%)
CIE-LABlab(50.18, -12.94, 43.09)
CIE-LCHlch(50.18, 45.00, 106.72°)
OKLaboklab(56.61% -0.0393 0.0975)
OKLCHoklch(56.61% 0.105 112)
XYZxyz(15.3541, 18.5688, 4.8727)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C29 #2D297C
analogous
#7C5729 #787C29 #4E7C29
triadic
#787C29 #29787C #7C2978
tetradic
#787C29 #297C57 #2D297C #7C294E
square
#787C29 #297C57 #2D297C #7C294E
split-complementary
#787C29 #294E7C #57297C
monochromatic
#1F200B #4B4E1A #787C29 #A5AA38 #C2C858

Accessibility & contrast

On white

4.46
#787C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#787C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C29
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C29#FFFFFF#000000##000000
##787C291.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761E
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#80746B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #787c29;
/* rgb */ color: rgb(120, 124, 41);
/* oklch */ color: oklch(56.6% 0.105 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a167',
    500: '#787c29',
    950: '#000000',
  },
}
SCSS
$custom: #787c29;
$custom-light: #a1a167;
$custom-dark: #000000;
JSON
{
  "hex": "#787c29",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 62.892,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.1051,
    "h": 112
  },
  "luminance": 0.18568
}

Semantic roles & 50–950 ramp

primary
#787C29
secondary
#5854AD
accent
#4EDA55
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #787C29

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

Preview Lab → · Contrast checker → · Palette generator →

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