#7C671B#7C671B

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

Color values

HEX#7C671B
RGBrgb(124, 103, 27)
HSLhsl(47, 64%, 30%)
HSVhsv(47, 78%, 49%)
CMYKcmyk(0%, 16.9%, 78.2%, 51.4%)
CIE-LABlab(44.33, -0.05, 43.29)
CIE-LCHlch(44.33, 43.29, 90.07°)
OKLaboklab(52.01% -0.0047 0.0951)
OKLCHoklch(52.01% 0.095 92.8)
XYZxyz(13.3610, 14.0655, 3.0479)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C671B #1B307C
analogous
#7C361B #7C671B #617C1B
triadic
#7C671B #1B7C67 #671B7C
tetradic
#7C671B #1B7C36 #1B307C #7C1B61
square
#7C671B #1B7C36 #1B307C #7C1B61
split-complementary
#7C671B #1B617C #361B7C
monochromatic
#191505 #4A3D10 #7C671B #AE9126 #D5B43D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C671B#FFFFFF#000000##FFFFFF
##7C671B1.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)
#73650E
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#875E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c671b;
/* rgb */ color: rgb(124, 103, 27);
/* oklch */ color: oklch(52.0% 0.095 92.8);
Tailwind
colors: {
  custom: {
    50: '#a5925e',
    500: '#7c671b',
    950: '#000000',
  },
}
SCSS
$custom: #7c671b;
$custom-light: #a5925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c671b",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 47.01,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.09519,
    "h": 92.8
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#7C671B
secondary
#435AB0
accent
#65E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C671B

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

Preview Lab → · Contrast checker → · Palette generator →

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