#7F671C#7F671C

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

Color values

HEX#7F671C
RGBrgb(127, 103, 28)
HSLhsl(45, 64%, 30%)
HSVhsv(45, 78%, 50%)
CMYKcmyk(0%, 18.9%, 78%, 50.2%)
CIE-LABlab(44.66, 1.43, 43.31)
CIE-LCHlch(44.66, 43.33, 88.11°)
OKLaboklab(52.35% -0.0005 0.0952)
OKLCHoklch(52.35% 0.095 90.3)
XYZxyz(13.8130, 14.2972, 3.1305)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F671C #1C347F
analogous
#7F361C #7F671C #657F1C
triadic
#7F671C #1C7F67 #671C7F
tetradic
#7F671C #1C7F36 #1C347F #7F1C65
square
#7F671C #1C7F36 #1C347F #7F1C65
split-complementary
#7F671C #1C657F #361C7F
monochromatic
#1B1606 #4D3E11 #7F671C #B19027 #D5B140

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F671C#FFFFFF#000000##FFFFFF
##7F671C1.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)
#73660F
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#8A5E58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f671c;
/* rgb */ color: rgb(127, 103, 28);
/* oklch */ color: oklch(52.3% 0.095 90.3);
Tailwind
colors: {
  custom: {
    50: '#a8925e',
    500: '#7f671c',
    950: '#000000',
  },
}
SCSS
$custom: #7f671c;
$custom-light: #a8925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f671c",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 45.455,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52347,
    "c": 0.09521,
    "h": 90.3
  },
  "luminance": 0.14296
}

Semantic roles & 50–950 ramp

primary
#7F671C
secondary
#445FB3
accent
#69E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7F671C

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

Preview Lab → · Contrast checker → · Palette generator →

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