#7C671A#7C671A

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

Color values

HEX#7C671A
RGBrgb(124, 103, 26)
HSLhsl(47, 65%, 29%)
HSVhsv(47, 79%, 49%)
CMYKcmyk(0%, 16.9%, 79%, 51.4%)
CIE-LABlab(44.32, -0.10, 43.67)
CIE-LCHlch(44.32, 43.67, 90.13°)
OKLaboklab(52% -0.0049 0.0957)
OKLCHoklch(52% 0.096 92.9)
XYZxyz(13.3496, 14.0610, 2.9880)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C671A #1A2F7C
analogous
#7C361A #7C671A #607C1A
triadic
#7C671A #1A7C67 #671A7C
tetradic
#7C671A #1A7C36 #1A2F7C #7C1A60
square
#7C671A #1A7C36 #1A2F7C #7C1A60
split-complementary
#7C671A #1A607C #361A7C
monochromatic
#191505 #493D0F #7C671A #AF9125 #D6B53B

Accessibility & contrast

On white

5.51
#7C671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C671A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C671A#FFFFFF#000000##FFFFFF
##7C671A1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#875E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c671a;
/* rgb */ color: rgb(124, 103, 26);
/* oklch */ color: oklch(52.0% 0.096 92.9);
Tailwind
colors: {
  custom: {
    50: '#a5925d',
    500: '#7c671a',
    950: '#000000',
  },
}
SCSS
$custom: #7c671a;
$custom-light: #a5925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c671a",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 47.143,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.09582,
    "h": 92.9
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#7C671A
secondary
#4259B0
accent
#64E840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C671A

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

Preview Lab → · Contrast checker → · Palette generator →

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