#76831B#76831B

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

Color values

HEX#76831B
RGBrgb(118, 131, 27)
HSLhsl(68, 66%, 31%)
HSVhsv(68, 79%, 51%)
CMYKcmyk(9.9%, 0%, 79.4%, 48.6%)
CIE-LABlab(52.02, -18.36, 50.26)
CIE-LCHlch(52.02, 53.51, 110.06°)
OKLaboklab(58.01% -0.0556 0.1102)
OKLCHoklch(58.01% 0.123 116.8)
XYZxyz(15.7858, 20.1635, 4.0971)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76831B #281B83
analogous
#835C1B #76831B #42831B
triadic
#76831B #1B7683 #831B76
tetradic
#76831B #1B835C #281B83 #831B42
square
#76831B #1B835C #281B83 #831B42
split-complementary
#76831B #1B4283 #5C1B83
monochromatic
#1B1E06 #485011 #76831B #A4B625 #C5D841

Accessibility & contrast

On white

4.17
#76831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#76831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76831B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76831B#FFFFFF#000000##000000
##76831B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C00
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#7E7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #76831b;
/* rgb */ color: rgb(118, 131, 27);
/* oklch */ color: oklch(58.0% 0.123 116.8);
Tailwind
colors: {
  custom: {
    50: '#a1a761',
    500: '#76831b',
    950: '#000000',
  },
}
SCSS
$custom: #76831b;
$custom-light: #a1a761;
$custom-dark: #000000;
JSON
{
  "hex": "#76831b",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 67.5,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58012,
    "c": 0.12341,
    "h": 116.8
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#76831B
secondary
#5243B6
accent
#3FE954
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76831B

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

Preview Lab → · Contrast checker → · Palette generator →

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