#77841B#77841B

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

Color values

HEX#77841B
RGBrgb(119, 132, 27)
HSLhsl(67, 66%, 31%)
HSVhsv(67, 80%, 52%)
CMYKcmyk(9.8%, 0%, 79.5%, 48.2%)
CIE-LABlab(52.40, -18.43, 50.64)
CIE-LCHlch(52.40, 53.89, 110.00°)
OKLaboklab(58.34% -0.0559 0.1109)
OKLCHoklch(58.34% 0.124 116.7)
XYZxyz(16.0573, 20.5038, 4.1484)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77841B #281B84
analogous
#845C1B #77841B #42841B
triadic
#77841B #1B7784 #841B77
tetradic
#77841B #1B845C #281B84 #841B42
square
#77841B #1B845C #281B84 #841B42
split-complementary
#77841B #1B4284 #5C1B84
monochromatic
#1B1E06 #495111 #77841B #A5B725 #C5D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77841B#FFFFFF#000000##000000
##77841B1.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)
#8C7E25
Tritanopia (blue-blind)
#7F7C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #77841b;
/* rgb */ color: rgb(119, 132, 27);
/* oklch */ color: oklch(58.3% 0.124 116.7);
Tailwind
colors: {
  custom: {
    50: '#a1a761',
    500: '#77841b',
    950: '#000000',
  },
}
SCSS
$custom: #77841b;
$custom-light: #a1a761;
$custom-dark: #000000;
JSON
{
  "hex": "#77841b",
  "rgb": {
    "r": 119,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 67.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.12421,
    "h": 116.7
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#77841B
secondary
#5243B7
accent
#3FE954
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77841B

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

Preview Lab → · Contrast checker → · Palette generator →

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