#7F671A#7F671A

#7F671A is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.096 H 90.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7F671A
RGBrgb(127, 103, 26)
HSLhsl(46, 66%, 30%)
HSVhsv(46, 80%, 50%)
CMYKcmyk(0%, 18.9%, 79.5%, 50.2%)
CIE-LABlab(44.64, 1.34, 44.09)
CIE-LCHlch(44.64, 44.11, 88.26°)
OKLaboklab(52.33% -0.001 0.0964)
OKLCHoklch(52.33% 0.096 90.6)
XYZxyz(13.7899, 14.2880, 3.0086)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F671A #1A327F
analogous
#7F351A #7F671A #647F1A
triadic
#7F671A #1A7F67 #671A7F
tetradic
#7F671A #1A7F35 #1A327F #7F1A64
square
#7F671A #1A7F35 #1A327F #7F1A64
split-complementary
#7F671A #1A647F #351A7F
monochromatic
#191505 #4C3E10 #7F671A #B29024 #D7B23C

Accessibility & contrast

On white

5.44
#7F671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7F671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F671A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F671A#FFFFFF#000000##FFFFFF
##7F671A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660C
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#8A5E58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f671a;
/* rgb */ color: rgb(127, 103, 26);
/* oklch */ color: oklch(52.3% 0.096 90.6);
Tailwind
colors: {
  custom: {
    50: '#a8925d',
    500: '#7f671a',
    950: '#000000',
  },
}
SCSS
$custom: #7f671a;
$custom-light: #a8925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f671a",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 45.743,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.09645,
    "h": 90.6
  },
  "luminance": 0.14287
}

Semantic roles & 50–950 ramp

primary
#7F671A
secondary
#425DB3
accent
#67E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F671A

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

Preview Lab → · Contrast checker → · Palette generator →

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