#7F681E#7F681E

#7F681E is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.6% C 0.095 H 91.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7F681E
RGBrgb(127, 104, 30)
HSLhsl(46, 62%, 31%)
HSVhsv(46, 76%, 50%)
CMYKcmyk(0%, 18.1%, 76.4%, 50.2%)
CIE-LABlab(44.95, 0.94, 42.77)
CIE-LCHlch(44.95, 42.78, 88.74°)
OKLaboklab(52.59% -0.0016 0.0945)
OKLCHoklch(52.59% 0.095 91)
XYZxyz(13.9378, 14.5072, 3.2941)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F681E #1E357F
analogous
#7F371E #7F681E #657F1E
triadic
#7F681E #1E7F68 #681E7F
tetradic
#7F681E #1E7F37 #1E357F #7F1E65
square
#7F681E #1E7F37 #1E357F #7F1E65
split-complementary
#7F681E #1E657F #371E7F
monochromatic
#1C1707 #4D3F12 #7F681E #B1912A #D3B144

Accessibility & contrast

On white

5.38
#7F681E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7F681E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F681E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F681E#FFFFFF#000000##FFFFFF
##7F681E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746712
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#8A5F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f681e;
/* rgb */ color: rgb(127, 104, 30);
/* oklch */ color: oklch(52.6% 0.095 91.0);
Tailwind
colors: {
  custom: {
    50: '#a8925f',
    500: '#7f681e',
    950: '#000000',
  },
}
SCSS
$custom: #7f681e;
$custom-light: #a8925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f681e",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 45.773,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.0945,
    "h": 91
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#7F681E
secondary
#4760B2
accent
#69E543
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7F681E

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

Preview Lab → · Contrast checker → · Palette generator →

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