#7C671C#7C671C

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

Color values

HEX#7C671C
RGBrgb(124, 103, 28)
HSLhsl(47, 63%, 30%)
HSVhsv(47, 77%, 49%)
CMYKcmyk(0%, 16.9%, 77.4%, 51.4%)
CIE-LABlab(44.33, -0.00, 42.89)
CIE-LCHlch(44.33, 42.89, 90.00°)
OKLaboklab(52.02% -0.0044 0.0945)
OKLCHoklch(52.02% 0.095 92.7)
XYZxyz(13.3728, 14.0702, 3.1098)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C671C #1C317C
analogous
#7C371C #7C671C #617C1C
triadic
#7C671C #1C7C67 #671C7C
tetradic
#7C671C #1C7C37 #1C317C #7C1C61
square
#7C671C #1C7C37 #1C317C #7C1C61
split-complementary
#7C671C #1C617C #371C7C
monochromatic
#191506 #4A3E11 #7C671C #AE9027 #D4B33F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C671C#FFFFFF#000000##FFFFFF
##7C671C1.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)
#73650F
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#875E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c671c;
/* rgb */ color: rgb(124, 103, 28);
/* oklch */ color: oklch(52.0% 0.095 92.7);
Tailwind
colors: {
  custom: {
    50: '#a5925e',
    500: '#7c671c',
    950: '#000000',
  },
}
SCSS
$custom: #7c671c;
$custom-light: #a5925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c671c",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 46.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.09455,
    "h": 92.7
  },
  "luminance": 0.14069
}

Semantic roles & 50–950 ramp

primary
#7C671C
secondary
#445CB0
accent
#66E642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C671C

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

Preview Lab → · Contrast checker → · Palette generator →

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