#77841A#77841A

#77841A is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.3% C 0.125 H 116.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#77841A
RGBrgb(119, 132, 26)
HSLhsl(67, 67%, 31%)
HSVhsv(67, 80%, 52%)
CMYKcmyk(9.8%, 0%, 80.3%, 48.2%)
CIE-LABlab(52.40, -18.47, 50.95)
CIE-LCHlch(52.40, 54.20, 109.93°)
OKLaboklab(58.33% -0.0561 0.1114)
OKLCHoklch(58.33% 0.125 116.7)
XYZxyz(16.0459, 20.4993, 4.0885)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77841A #271A84
analogous
#845C1A #77841A #42841A
triadic
#77841A #1A7784 #841A77
tetradic
#77841A #1A845C #271A84 #841A42
square
#77841A #1A845C #271A84 #841A42
split-complementary
#77841A #1A4284 #5C1A84
monochromatic
#1B1E06 #495110 #77841A #A5B724 #C6D93F

Accessibility & contrast

On white

4.12
#77841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#77841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77841A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77841A#FFFFFF#000000##000000
##77841A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8C7E24
Tritanopia (blue-blind)
#7F7C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #77841a;
/* rgb */ color: rgb(119, 132, 26);
/* oklch */ color: oklch(58.3% 0.125 116.7);
Tailwind
colors: {
  custom: {
    50: '#a1a761',
    500: '#77841a',
    950: '#000000',
  },
}
SCSS
$custom: #77841a;
$custom-light: #a1a761;
$custom-dark: #000000;
JSON
{
  "hex": "#77841a",
  "rgb": {
    "r": 119,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 67.358,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.12473,
    "h": 116.7
  },
  "luminance": 0.20499
}

Semantic roles & 50–950 ramp

primary
#77841A
secondary
#5142B8
accent
#3EEA53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77841A

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

Preview Lab → · Contrast checker → · Palette generator →

#77841A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva