#7F741A#7F741A

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

Color values

HEX#7F741A
RGBrgb(127, 116, 26)
HSLhsl(53, 66%, 30%)
HSVhsv(53, 80%, 50%)
CMYKcmyk(0%, 8.7%, 79.5%, 50.2%)
CIE-LABlab(48.36, -6.10, 47.53)
CIE-LCHlch(48.36, 47.92, 97.31°)
OKLaboklab(55.27% -0.0221 0.1038)
OKLCHoklch(55.27% 0.106 102)
XYZxyz(15.1850, 17.0781, 3.4736)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F741A #1A257F
analogous
#7F411A #7F741A #587F1A
triadic
#7F741A #1A7F74 #741A7F
tetradic
#7F741A #1A7F41 #1A257F #7F1A58
square
#7F741A #1A7F41 #1A257F #7F1A58
split-complementary
#7F741A #1A587F #411A7F
monochromatic
#191705 #4C4610 #7F741A #B2A224 #D7C63C

Accessibility & contrast

On white

4.76
#7F741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F741A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F741A#FFFFFF#000000##FFFFFF
##7F741A1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f741a;
/* rgb */ color: rgb(127, 116, 26);
/* oklch */ color: oklch(55.3% 0.106 102.0);
Tailwind
colors: {
  custom: {
    50: '#a89b5f',
    500: '#7f741a',
    950: '#000000',
  },
}
SCSS
$custom: #7f741a;
$custom-light: #a89b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f741a",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 53.465,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.1061,
    "h": 102
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#7F741A
secondary
#424EB3
accent
#51E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F741A

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

Preview Lab → · Contrast checker → · Palette generator →

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