#76831F#76831F

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

Color values

HEX#76831F
RGBrgb(118, 131, 31)
HSLhsl(68, 62%, 32%)
HSVhsv(68, 76%, 51%)
CMYKcmyk(9.9%, 0%, 76.3%, 48.6%)
CIE-LABlab(52.04, -18.17, 48.91)
CIE-LCHlch(52.04, 52.17, 110.38°)
OKLaboklab(58.04% -0.0548 0.108)
OKLCHoklch(58.04% 0.121 116.9)
XYZxyz(15.8352, 20.1833, 4.3576)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76831F #2C1F83
analogous
#835E1F #76831F #44831F
triadic
#76831F #1F7683 #831F76
tetradic
#76831F #1F835E #2C1F83 #831F44
square
#76831F #1F835E #2C1F83 #831F44
split-complementary
#76831F #1F4483 #5E1F83
monochromatic
#1D2008 #495213 #76831F #A3B42B #C2D449

Accessibility & contrast

On white

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

On black

5.04
#76831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76831F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76831F#FFFFFF#000000##000000
##76831F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76831f;
/* rgb */ color: rgb(118, 131, 31);
/* oklch */ color: oklch(58.0% 0.121 116.9);
Tailwind
colors: {
  custom: {
    50: '#a0a763',
    500: '#76831f',
    950: '#000000',
  },
}
SCSS
$custom: #76831f;
$custom-light: #a0a763;
$custom-dark: #000000;
JSON
{
  "hex": "#76831f",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 67.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58037,
    "c": 0.12112,
    "h": 116.9
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#76831F
secondary
#5648B6
accent
#43E558
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #76831F

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

Preview Lab → · Contrast checker → · Palette generator →

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