#77831F#77831F

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

Color values

HEX#77831F
RGBrgb(119, 131, 31)
HSLhsl(67, 62%, 32%)
HSVhsv(67, 76%, 51%)
CMYKcmyk(9.2%, 0%, 76.3%, 48.6%)
CIE-LABlab(52.12, -17.72, 49.01)
CIE-LCHlch(52.12, 52.11, 109.88°)
OKLaboklab(58.12% -0.0536 0.1082)
OKLCHoklch(58.12% 0.121 116.3)
XYZxyz(15.9718, 20.2537, 4.3640)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77831F #2B1F83
analogous
#835D1F #77831F #45831F
triadic
#77831F #1F7783 #831F77
tetradic
#77831F #1F835D #2B1F83 #831F45
square
#77831F #1F835D #2B1F83 #831F45
split-complementary
#77831F #1F4583 #5D1F83
monochromatic
#1D2008 #4A5213 #77831F #A4B42B #C3D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77831F#FFFFFF#000000##000000
##77831F1.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)
#8C7C09
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #77831f;
/* rgb */ color: rgb(119, 131, 31);
/* oklch */ color: oklch(58.1% 0.121 116.3);
Tailwind
colors: {
  custom: {
    50: '#a1a663',
    500: '#77831f',
    950: '#000000',
  },
}
SCSS
$custom: #77831f;
$custom-light: #a1a663;
$custom-dark: #000000;
JSON
{
  "hex": "#77831f",
  "rgb": {
    "r": 119,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 67.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.12075,
    "h": 116.3
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#77831F
secondary
#5548B6
accent
#43E556
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #77831F

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

Preview Lab → · Contrast checker → · Palette generator →

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