#7C671D#7C671D

#7C671D is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.094 H 92.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7C671D
RGBrgb(124, 103, 29)
HSLhsl(47, 62%, 30%)
HSVhsv(47, 77%, 49%)
CMYKcmyk(0%, 16.9%, 76.6%, 51.4%)
CIE-LABlab(44.34, 0.04, 42.48)
CIE-LCHlch(44.34, 42.48, 89.94°)
OKLaboklab(52.03% -0.0042 0.0938)
OKLCHoklch(52.03% 0.094 92.5)
XYZxyz(13.3849, 14.0751, 3.1739)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C671D #1D327C
analogous
#7C381D #7C671D #617C1D
triadic
#7C671D #1D7C67 #671D7C
tetradic
#7C671D #1D7C38 #1D327C #7C1D61
square
#7C671D #1D7C38 #1D327C #7C1D61
split-complementary
#7C671D #1D617C #381D7C
monochromatic
#191506 #4A3E11 #7C671D #AE9029 #D3B241

Accessibility & contrast

On white

5.50
#7C671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7C671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C671D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C671D#FFFFFF#000000##FFFFFF
##7C671D1.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736511
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#875E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c671d;
/* rgb */ color: rgb(124, 103, 29);
/* oklch */ color: oklch(52.0% 0.094 92.5);
Tailwind
colors: {
  custom: {
    50: '#a5925f',
    500: '#7c671d',
    950: '#000000',
  },
}
SCSS
$custom: #7c671d;
$custom-light: #a5925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c671d",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 46.737,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.0939,
    "h": 92.5
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#7C671D
secondary
#455DB0
accent
#67E543
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C671D

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

Preview Lab → · Contrast checker → · Palette generator →

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