#77831A#77831A

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

Color values

HEX#77831A
RGBrgb(119, 131, 26)
HSLhsl(67, 67%, 31%)
HSVhsv(67, 80%, 51%)
CMYKcmyk(9.2%, 0%, 80.2%, 48.6%)
CIE-LABlab(52.10, -17.95, 50.68)
CIE-LCHlch(52.10, 53.77, 109.51°)
OKLaboklab(58.09% -0.0547 0.1108)
OKLCHoklch(58.09% 0.124 116.3)
XYZxyz(15.9109, 20.2294, 4.0436)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77831A #261A83
analogous
#835A1A #77831A #42831A
triadic
#77831A #1A7783 #831A77
tetradic
#77831A #1A835A #261A83 #831A42
square
#77831A #1A835A #261A83 #831A42
split-complementary
#77831A #1A4283 #5A1A83
monochromatic
#1A1D06 #495010 #77831A #A5B624 #C7D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77831A#FFFFFF#000000##000000
##77831A1.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)
#8C7D24
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #77831a;
/* rgb */ color: rgb(119, 131, 26);
/* oklch */ color: oklch(58.1% 0.124 116.3);
Tailwind
colors: {
  custom: {
    50: '#a1a661',
    500: '#77831a',
    950: '#000000',
  },
}
SCSS
$custom: #77831a;
$custom-light: #a1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#77831a",
  "rgb": {
    "r": 119,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 66.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.12357,
    "h": 116.3
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#77831A
secondary
#4F42B7
accent
#3EEA52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77831A

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

Preview Lab → · Contrast checker → · Palette generator →

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