#77831B#77831B

#77831B is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.123 H 116.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#77831B
RGBrgb(119, 131, 27)
HSLhsl(67, 66%, 31%)
HSVhsv(67, 79%, 51%)
CMYKcmyk(9.2%, 0%, 79.4%, 48.6%)
CIE-LABlab(52.10, -17.91, 50.36)
CIE-LCHlch(52.10, 53.45, 109.57°)
OKLaboklab(58.1% -0.0544 0.1103)
OKLCHoklch(58.1% 0.123 116.3)
XYZxyz(15.9223, 20.2339, 4.1035)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77831B #271B83
analogous
#835B1B #77831B #43831B
triadic
#77831B #1B7783 #831B77
tetradic
#77831B #1B835B #271B83 #831B43
square
#77831B #1B835B #271B83 #831B43
split-complementary
#77831B #1B4383 #5B1B83
monochromatic
#1B1E06 #495011 #77831B #A5B625 #C6D841

Accessibility & contrast

On white

4.16
#77831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#77831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77831B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77831B#FFFFFF#000000##000000
##77831B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #77831b;
/* rgb */ color: rgb(119, 131, 27);
/* oklch */ color: oklch(58.1% 0.123 116.3);
Tailwind
colors: {
  custom: {
    50: '#a1a661',
    500: '#77831b',
    950: '#000000',
  },
}
SCSS
$custom: #77831b;
$custom-light: #a1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#77831b",
  "rgb": {
    "r": 119,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 66.923,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58095,
    "c": 0.12303,
    "h": 116.3
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#77831B
secondary
#5143B6
accent
#3FE953
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77831B

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

Preview Lab → · Contrast checker → · Palette generator →

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