#7F741E#7F741E

#7F741E 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#7F741E
RGBrgb(127, 116, 30)
HSLhsl(53, 62%, 31%)
HSVhsv(53, 76%, 50%)
CMYKcmyk(0%, 8.7%, 76.4%, 50.2%)
CIE-LABlab(48.38, -5.92, 46.07)
CIE-LCHlch(48.38, 46.45, 97.32°)
OKLaboklab(55.3% -0.0212 0.1015)
OKLCHoklch(55.3% 0.104 101.8)
XYZxyz(15.2328, 17.0972, 3.7258)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F741E #1E297F
analogous
#7F431E #7F741E #597F1E
triadic
#7F741E #1E7F74 #741E7F
tetradic
#7F741E #1E7F43 #1E297F #7F1E59
square
#7F741E #1E7F43 #1E297F #7F1E59
split-complementary
#7F741E #1E597F #431E7F
monochromatic
#1C1A07 #4D4712 #7F741E #B1A12A #D3C344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F741E#FFFFFF#000000##FFFFFF
##7F741E1.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)
#7F700E
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f741e;
/* rgb */ color: rgb(127, 116, 30);
/* oklch */ color: oklch(55.3% 0.104 101.8);
Tailwind
colors: {
  custom: {
    50: '#a79b61',
    500: '#7f741e',
    950: '#000000',
  },
}
SCSS
$custom: #7f741e;
$custom-light: #a79b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f741e",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 53.196,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.553,
    "c": 0.10368,
    "h": 101.8
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#7F741E
secondary
#4753B2
accent
#55E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F741E

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

Preview Lab → · Contrast checker → · Palette generator →

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