#76831C#76831C

#76831C 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#76831C
RGBrgb(118, 131, 28)
HSLhsl(68, 65%, 31%)
HSVhsv(68, 79%, 51%)
CMYKcmyk(9.9%, 0%, 78.6%, 48.6%)
CIE-LABlab(52.03, -18.31, 49.93)
CIE-LCHlch(52.03, 53.18, 110.14°)
OKLaboklab(58.02% -0.0554 0.1096)
OKLCHoklch(58.02% 0.123 116.8)
XYZxyz(15.7975, 20.1682, 4.1590)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76831C #291C83
analogous
#835C1C #76831C #42831C
triadic
#76831C #1C7683 #831C76
tetradic
#76831C #1C835C #291C83 #831C42
square
#76831C #1C835C #291C83 #831C42
split-complementary
#76831C #1C4283 #5C1C83
monochromatic
#1B1E06 #495111 #76831C #A3B527 #C4D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76831C#FFFFFF#000000##000000
##76831C1.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)
#8C7C02
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#7E7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #76831c;
/* rgb */ color: rgb(118, 131, 28);
/* oklch */ color: oklch(58.0% 0.123 116.8);
Tailwind
colors: {
  custom: {
    50: '#a1a761',
    500: '#76831c',
    950: '#000000',
  },
}
SCSS
$custom: #76831c;
$custom-light: #a1a761;
$custom-dark: #000000;
JSON
{
  "hex": "#76831c",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 67.573,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58018,
    "c": 0.12286,
    "h": 116.8
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#76831C
secondary
#5345B6
accent
#40E855
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76831C

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

Preview Lab → · Contrast checker → · Palette generator →

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