#76731F#76731F

#76731F is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.2% C 0.103 H 107.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#76731F
RGBrgb(118, 115, 31)
HSLhsl(58, 58%, 29%)
HSVhsv(58, 74%, 46%)
CMYKcmyk(0%, 2.5%, 73.7%, 53.7%)
CIE-LABlab(47.25, -9.53, 44.30)
CIE-LCHlch(47.25, 45.31, 102.14°)
OKLaboklab(54.2% -0.0307 0.0983)
OKLCHoklch(54.2% 0.103 107.3)
XYZxyz(13.8498, 16.2124, 3.6958)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76731F #1F2276
analogous
#76481F #76731F #4E761F
triadic
#76731F #1F7673 #731F76
tetradic
#76731F #1F7648 #1F2276 #761F4E
square
#76731F #1F7648 #1F2276 #761F4E
split-complementary
#76731F #1F4E76 #481F76
monochromatic
#181806 #464412 #76731F #A6A22C #CDC942

Accessibility & contrast

On white

4.95
#76731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#76731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #76731F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76731F#FFFFFF#000000##FFFFFF
##76731F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E11
Deuteranopia (green-blind)
#7F7125
Tritanopia (blue-blind)
#7F6B63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #76731f;
/* rgb */ color: rgb(118, 115, 31);
/* oklch */ color: oklch(54.2% 0.103 107.3);
Tailwind
colors: {
  custom: {
    50: '#a09b61',
    500: '#76731f',
    950: '#000000',
  },
}
SCSS
$custom: #76731f;
$custom-light: #a09b61;
$custom-dark: #000000;
JSON
{
  "hex": "#76731f",
  "rgb": {
    "r": 118,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 57.931,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.542,
    "c": 0.10298,
    "h": 107.3
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#76731F
secondary
#474BAA
accent
#4CE246
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #76731F

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

Preview Lab → · Contrast checker → · Palette generator →

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