#7F761B#7F761B

#7F761B is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.107 H 103.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F761B
RGBrgb(127, 118, 27)
HSLhsl(55, 65%, 30%)
HSVhsv(55, 79%, 50%)
CMYKcmyk(0%, 7.1%, 78.7%, 50.2%)
CIE-LABlab(48.94, -7.18, 47.71)
CIE-LCHlch(48.94, 48.25, 98.55°)
OKLaboklab(55.74% -0.025 0.1044)
OKLCHoklch(55.74% 0.107 103.5)
XYZxyz(15.4294, 17.5487, 3.6112)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F761B #1B247F
analogous
#7F441B #7F761B #567F1B
triadic
#7F761B #1B7F76 #761B7F
tetradic
#7F761B #1B7F44 #1B247F #7F1B56
square
#7F761B #1B7F44 #1B247F #7F1B56
split-complementary
#7F761B #1B567F #441B7F
monochromatic
#1A1806 #4D4710 #7F761B #B1A526 #D6C83E

Accessibility & contrast

On white

4.66
#7F761B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7F761B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F761B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F761B#FFFFFF#000000##FFFFFF
##7F761B1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817207
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f761b;
/* rgb */ color: rgb(127, 118, 27);
/* oklch */ color: oklch(55.7% 0.107 103.5);
Tailwind
colors: {
  custom: {
    50: '#a79d5f',
    500: '#7f761b',
    950: '#000000',
  },
}
SCSS
$custom: #7f761b;
$custom-light: #a79d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f761b",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 54.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.10734,
    "h": 103.5
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#7F761B
secondary
#434DB3
accent
#4FE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F761B

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

Preview Lab → · Contrast checker → · Palette generator →

#7F761B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva