#76831A#76831A

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

Color values

HEX#76831A
RGBrgb(118, 131, 26)
HSLhsl(67, 67%, 31%)
HSVhsv(67, 80%, 51%)
CMYKcmyk(9.9%, 0%, 80.2%, 48.6%)
CIE-LABlab(52.02, -18.40, 50.58)
CIE-LCHlch(52.02, 53.82, 109.99°)
OKLaboklab(58.01% -0.0558 0.1107)
OKLCHoklch(58.01% 0.124 116.8)
XYZxyz(15.7744, 20.1589, 4.0372)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76831A #271A83
analogous
#835B1A #76831A #41831A
triadic
#76831A #1A7683 #831A76
tetradic
#76831A #1A835B #271A83 #831A41
square
#76831A #1A835B #271A83 #831A41
split-complementary
#76831A #1A4183 #5B1A83
monochromatic
#1A1D06 #485010 #76831A #A4B624 #C6D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76831A#FFFFFF#000000##000000
##76831A1.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)
#8D7C00
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#7E7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #76831a;
/* rgb */ color: rgb(118, 131, 26);
/* oklch */ color: oklch(58.0% 0.124 116.8);
Tailwind
colors: {
  custom: {
    50: '#a1a761',
    500: '#76831a',
    950: '#000000',
  },
}
SCSS
$custom: #76831a;
$custom-light: #a1a761;
$custom-dark: #000000;
JSON
{
  "hex": "#76831a",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 67.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.12394,
    "h": 116.8
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#76831A
secondary
#5142B7
accent
#3EEA53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76831A

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

Preview Lab → · Contrast checker → · Palette generator →

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