#77851B#77851B

#77851B is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.125 H 117.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#77851B
RGBrgb(119, 133, 27)
HSLhsl(68, 66%, 31%)
HSVhsv(68, 80%, 52%)
CMYKcmyk(10.5%, 0%, 79.7%, 47.8%)
CIE-LABlab(52.70, -18.95, 50.91)
CIE-LCHlch(52.70, 54.32, 110.42°)
OKLaboklab(58.58% -0.0573 0.1115)
OKLCHoklch(58.58% 0.125 117.2)
XYZxyz(16.1935, 20.7763, 4.1939)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77851B #291B85
analogous
#855E1B #77851B #42851B
triadic
#77851B #1B7785 #851B77
tetradic
#77851B #1B855E #291B85 #851B42
square
#77851B #1B855E #291B85 #851B42
split-complementary
#77851B #1B4285 #5E1B85
monochromatic
#1C1F06 #495211 #77851B #A5B825 #C5D942

Accessibility & contrast

On white

4.07
#77851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#77851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77851B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77851B#FFFFFF#000000##000000
##77851B1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#7F7D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #77851b;
/* rgb */ color: rgb(119, 133, 27);
/* oklch */ color: oklch(58.6% 0.125 117.2);
Tailwind
colors: {
  custom: {
    50: '#a1a861',
    500: '#77851b',
    950: '#000000',
  },
}
SCSS
$custom: #77851b;
$custom-light: #a1a861;
$custom-dark: #000000;
JSON
{
  "hex": "#77851b",
  "rgb": {
    "r": 119,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 67.925,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.12538,
    "h": 117.2
  },
  "luminance": 0.20776
}

Semantic roles & 50–950 ramp

primary
#77851B
secondary
#5344B8
accent
#3FE955
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77851B

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

Preview Lab → · Contrast checker → · Palette generator →

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