#76811A#76811A

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

Color values

HEX#76811A
RGBrgb(118, 129, 26)
HSLhsl(66, 66%, 30%)
HSVhsv(66, 80%, 51%)
CMYKcmyk(8.5%, 0%, 79.8%, 49.4%)
CIE-LABlab(51.41, -17.35, 50.03)
CIE-LCHlch(51.41, 52.95, 109.13°)
OKLaboklab(57.52% -0.0529 0.1095)
OKLCHoklch(57.52% 0.122 115.8)
XYZxyz(15.5084, 19.6269, 3.9485)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76811A #251A81
analogous
#81591A #76811A #42811A
triadic
#76811A #1A7681 #811A76
tetradic
#76811A #1A8159 #251A81 #811A42
square
#76811A #1A8159 #251A81 #811A42
split-complementary
#76811A #1A4281 #591A81
monochromatic
#191B05 #474E10 #76811A #A5B424 #C7D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76811A#FFFFFF#000000##000000
##76811A1.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)
#8B7A00
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#7E796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #76811a;
/* rgb */ color: rgb(118, 129, 26);
/* oklch */ color: oklch(57.5% 0.122 115.8);
Tailwind
colors: {
  custom: {
    50: '#a1a560',
    500: '#76811a',
    950: '#000000',
  },
}
SCSS
$custom: #76811a;
$custom-light: #a1a560;
$custom-dark: #000000;
JSON
{
  "hex": "#76811a",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 66.408,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.12161,
    "h": 115.8
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#76811A
secondary
#4E42B5
accent
#3EE951
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #76811A

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

Preview Lab → · Contrast checker → · Palette generator →

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