#7C671E#7C671E

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

Color values

HEX#7C671E
RGBrgb(124, 103, 30)
HSLhsl(47, 61%, 30%)
HSVhsv(47, 76%, 49%)
CMYKcmyk(0%, 16.9%, 75.8%, 51.4%)
CIE-LABlab(44.35, 0.10, 42.07)
CIE-LCHlch(44.35, 42.07, 89.87°)
OKLaboklab(52.03% -0.0039 0.0931)
OKLCHoklch(52.03% 0.093 92.4)
XYZxyz(13.3975, 14.0801, 3.2401)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C671E #1E337C
analogous
#7C381E #7C671E #627C1E
triadic
#7C671E #1E7C67 #671E7C
tetradic
#7C671E #1E7C38 #1E337C #7C1E62
square
#7C671E #1E7C38 #1E337C #7C1E62
split-complementary
#7C671E #1E627C #381E7C
monochromatic
#191506 #4B3E12 #7C671E #AD902A #D1B243

Accessibility & contrast

On white

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

On black

3.82
#7C671E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C671E#FFFFFF#000000##FFFFFF
##7C671E1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#865E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c671e;
/* rgb */ color: rgb(124, 103, 30);
/* oklch */ color: oklch(52.0% 0.093 92.4);
Tailwind
colors: {
  custom: {
    50: '#a5925f',
    500: '#7c671e',
    950: '#000000',
  },
}
SCSS
$custom: #7c671e;
$custom-light: #a5925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c671e",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 46.596,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.09322,
    "h": 92.4
  },
  "luminance": 0.14079
}

Semantic roles & 50–950 ramp

primary
#7C671E
secondary
#465EAF
accent
#68E444
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C671E

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

Preview Lab → · Contrast checker → · Palette generator →

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