#7F761C#7F761C

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

Color values

HEX#7F761C
RGBrgb(127, 118, 28)
HSLhsl(55, 64%, 30%)
HSVhsv(55, 78%, 50%)
CMYKcmyk(0%, 7.1%, 78%, 50.2%)
CIE-LABlab(48.95, -7.13, 47.36)
CIE-LCHlch(48.95, 47.89, 98.56°)
OKLaboklab(55.75% -0.0248 0.1038)
OKLCHoklch(55.75% 0.107 103.4)
XYZxyz(15.4411, 17.5534, 3.6732)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F761C #1C257F
analogous
#7F441C #7F761C #577F1C
triadic
#7F761C #1C7F76 #761C7F
tetradic
#7F761C #1C7F44 #1C257F #7F1C57
square
#7F761C #1C7F44 #1C257F #7F1C57
split-complementary
#7F761C #1C577F #441C7F
monochromatic
#1B1906 #4D4711 #7F761C #B1A527 #D5C740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F761C#FFFFFF#000000##FFFFFF
##7F761C1.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)
#817209
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f761c;
/* rgb */ color: rgb(127, 118, 28);
/* oklch */ color: oklch(55.7% 0.107 103.4);
Tailwind
colors: {
  custom: {
    50: '#a79d60',
    500: '#7f761c',
    950: '#000000',
  },
}
SCSS
$custom: #7f761c;
$custom-light: #a79d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f761c",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 54.545,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.10675,
    "h": 103.4
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#7F761C
secondary
#444EB3
accent
#50E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F761C

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

Preview Lab → · Contrast checker → · Palette generator →

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