#76811B#76811B

#76811B is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.121 H 115.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#76811B
RGBrgb(118, 129, 27)
HSLhsl(66, 65%, 31%)
HSVhsv(66, 79%, 51%)
CMYKcmyk(8.5%, 0%, 79.1%, 49.4%)
CIE-LABlab(51.42, -17.31, 49.71)
CIE-LCHlch(51.42, 52.63, 109.20°)
OKLaboklab(57.53% -0.0527 0.109)
OKLCHoklch(57.53% 0.121 115.8)
XYZxyz(15.5197, 19.6314, 4.0084)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76811B #261B81
analogous
#81591B #76811B #43811B
triadic
#76811B #1B7681 #811B76
tetradic
#76811B #1B8159 #261B81 #811B43
square
#76811B #1B8159 #261B81 #811B43
split-complementary
#76811B #1B4381 #591B81
monochromatic
#191C06 #484E10 #76811B #A4B426 #C7D73F

Accessibility & contrast

On white

4.26
#76811B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#76811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76811B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76811B#FFFFFF#000000##000000
##76811B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A01
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#7E796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #76811b;
/* rgb */ color: rgb(118, 129, 27);
/* oklch */ color: oklch(57.5% 0.121 115.8);
Tailwind
colors: {
  custom: {
    50: '#a1a561',
    500: '#76811b',
    950: '#000000',
  },
}
SCSS
$custom: #76811b;
$custom-light: #a1a561;
$custom-dark: #000000;
JSON
{
  "hex": "#76811b",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 66.471,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.12107,
    "h": 115.8
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

primary
#76811B
secondary
#4F43B5
accent
#3FE852
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76811B

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

Preview Lab → · Contrast checker → · Palette generator →

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