#77831C#77831C

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

Color values

HEX#77831C
RGBrgb(119, 131, 28)
HSLhsl(67, 65%, 31%)
HSVhsv(67, 79%, 51%)
CMYKcmyk(9.2%, 0%, 78.6%, 48.6%)
CIE-LABlab(52.11, -17.86, 50.03)
CIE-LCHlch(52.11, 53.13, 109.65°)
OKLaboklab(58.1% -0.0542 0.1098)
OKLCHoklch(58.1% 0.122 116.3)
XYZxyz(15.9341, 20.2386, 4.1654)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77831C #281C83
analogous
#835B1C #77831C #43831C
triadic
#77831C #1C7783 #831C77
tetradic
#77831C #1C835B #281C83 #831C43
square
#77831C #1C835B #281C83 #831C43
split-complementary
#77831C #1C4383 #5B1C83
monochromatic
#1B1E06 #495111 #77831C #A5B527 #C5D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77831C#FFFFFF#000000##000000
##77831C1.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)
#8D7C02
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #77831c;
/* rgb */ color: rgb(119, 131, 28);
/* oklch */ color: oklch(58.1% 0.122 116.3);
Tailwind
colors: {
  custom: {
    50: '#a1a662',
    500: '#77831c',
    950: '#000000',
  },
}
SCSS
$custom: #77831c;
$custom-light: #a1a662;
$custom-dark: #000000;
JSON
{
  "hex": "#77831c",
  "rgb": {
    "r": 119,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 66.99,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58101,
    "c": 0.12248,
    "h": 116.3
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#77831C
secondary
#5245B6
accent
#40E854
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77831C

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

Preview Lab → · Contrast checker → · Palette generator →

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