#7F741D#7F741D

#7F741D is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.104 H 101.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7F741D
RGBrgb(127, 116, 29)
HSLhsl(53, 63%, 31%)
HSVhsv(53, 77%, 50%)
CMYKcmyk(0%, 8.7%, 77.2%, 50.2%)
CIE-LABlab(48.38, -5.96, 46.45)
CIE-LCHlch(48.38, 46.83, 97.32°)
OKLaboklab(55.29% -0.0214 0.1021)
OKLCHoklch(55.29% 0.104 101.8)
XYZxyz(15.2203, 17.0922, 3.6596)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F741D #1D287F
analogous
#7F431D #7F741D #597F1D
triadic
#7F741D #1D7F74 #741D7F
tetradic
#7F741D #1D7F43 #1D287F #7F1D59
square
#7F741D #1D7F43 #1D287F #7F1D59
split-complementary
#7F741D #1D597F #431D7F
monochromatic
#1B1906 #4D4612 #7F741D #B1A228 #D4C442

Accessibility & contrast

On white

4.75
#7F741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7F741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F741D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F741D#FFFFFF#000000##FFFFFF
##7F741D1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700C
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f741d;
/* rgb */ color: rgb(127, 116, 29);
/* oklch */ color: oklch(55.3% 0.104 101.8);
Tailwind
colors: {
  custom: {
    50: '#a79b60',
    500: '#7f741d',
    950: '#000000',
  },
}
SCSS
$custom: #7f741d;
$custom-light: #a79b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f741d",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 53.265,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55293,
    "c": 0.10432,
    "h": 101.8
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#7F741D
secondary
#4552B2
accent
#54E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F741D

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

Preview Lab → · Contrast checker → · Palette generator →

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