#7F761F#7F761F

#7F761F is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.105 H 103.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F761F
RGBrgb(127, 118, 31)
HSLhsl(54, 61%, 31%)
HSVhsv(54, 76%, 50%)
CMYKcmyk(0%, 7.1%, 75.6%, 50.2%)
CIE-LABlab(48.97, -6.99, 46.25)
CIE-LCHlch(48.97, 46.77, 98.60°)
OKLaboklab(55.77% -0.0241 0.1021)
OKLCHoklch(55.77% 0.105 103.3)
XYZxyz(15.4788, 17.5685, 3.8718)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F761F #1F287F
analogous
#7F461F #7F761F #587F1F
triadic
#7F761F #1F7F76 #761F7F
tetradic
#7F761F #1F7F46 #1F287F #7F1F58
square
#7F761F #1F7F46 #1F287F #7F1F58
split-complementary
#7F761F #1F587F #461F7F
monochromatic
#1D1B07 #4E4813 #7F761F #B0A42B #D2C546

Accessibility & contrast

On white

4.65
#7F761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F761F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F761F#FFFFFF#000000##FFFFFF
##7F761F1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f761f;
/* rgb */ color: rgb(127, 118, 31);
/* oklch */ color: oklch(55.8% 0.105 103.3);
Tailwind
colors: {
  custom: {
    50: '#a79d61',
    500: '#7f761f',
    950: '#000000',
  },
}
SCSS
$custom: #7f761f;
$custom-light: #a79d61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f761f",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 54.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.10487,
    "h": 103.3
  },
  "luminance": 0.17568
}

Semantic roles & 50–950 ramp

primary
#7F761F
secondary
#4852B2
accent
#53E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7F761F

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

Preview Lab → · Contrast checker → · Palette generator →

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