#7C671F#7C671F

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

Color values

HEX#7C671F
RGBrgb(124, 103, 31)
HSLhsl(46, 60%, 30%)
HSVhsv(46, 75%, 49%)
CMYKcmyk(0%, 16.9%, 75%, 51.4%)
CIE-LABlab(44.35, 0.15, 41.65)
CIE-LCHlch(44.35, 41.65, 89.80°)
OKLaboklab(52.04% -0.0036 0.0925)
OKLCHoklch(52.04% 0.093 92.2)
XYZxyz(13.4105, 14.0853, 3.3084)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C671F #1F347C
analogous
#7C391F #7C671F #627C1F
triadic
#7C671F #1F7C67 #671F7C
tetradic
#7C671F #1F7C39 #1F347C #7C1F62
square
#7C671F #1F7C39 #1F347C #7C1F62
split-complementary
#7C671F #1F627C #391F7C
monochromatic
#1A1607 #4B3E13 #7C671F #AD902B #D0B145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C671F#FFFFFF#000000##FFFFFF
##7C671F1.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)
#736514
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#865E59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c671f;
/* rgb */ color: rgb(124, 103, 31);
/* oklch */ color: oklch(52.0% 0.093 92.2);
Tailwind
colors: {
  custom: {
    50: '#a59260',
    500: '#7c671f',
    950: '#000000',
  },
}
SCSS
$custom: #7c671f;
$custom-light: #a59260;
$custom-dark: #000000;
JSON
{
  "hex": "#7c671f",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 46.452,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.09253,
    "h": 92.2
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#7C671F
secondary
#485FAF
accent
#68E345
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C671F

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

Preview Lab → · Contrast checker → · Palette generator →

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