#77821F#77821F

#77821F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.120 H 115.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#77821F
RGBrgb(119, 130, 31)
HSLhsl(67, 61%, 32%)
HSVhsv(67, 76%, 51%)
CMYKcmyk(8.5%, 0%, 76.2%, 49%)
CIE-LABlab(51.82, -17.19, 48.72)
CIE-LCHlch(51.82, 51.67, 109.44°)
OKLaboklab(57.88% -0.0521 0.1076)
OKLCHoklch(57.88% 0.12 115.8)
XYZxyz(15.8381, 19.9864, 4.3195)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77821F #2A1F82
analogous
#825C1F #77821F #46821F
triadic
#77821F #1F7782 #821F77
tetradic
#77821F #1F825C #2A1F82 #821F46
square
#77821F #1F825C #2A1F82 #821F46
split-complementary
#77821F #1F4682 #5C1F82
monochromatic
#1D1F07 #4A5113 #77821F #A4B32B #C4D348

Accessibility & contrast

On white

4.20
#77821F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#77821F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77821F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77821F#FFFFFF#000000##000000
##77821F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0A
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #77821f;
/* rgb */ color: rgb(119, 130, 31);
/* oklch */ color: oklch(57.9% 0.120 115.8);
Tailwind
colors: {
  custom: {
    50: '#a1a663',
    500: '#77821f',
    950: '#000000',
  },
}
SCSS
$custom: #77821f;
$custom-light: #a1a663;
$custom-dark: #000000;
JSON
{
  "hex": "#77821f",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 66.667,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57878,
    "c": 0.11957,
    "h": 115.8
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#77821F
secondary
#5448B5
accent
#43E555
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #77821F

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

Preview Lab → · Contrast checker → · Palette generator →

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