#7C641C#7C641C

#7C641C is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.3% C 0.093 H 89.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7C641C
RGBrgb(124, 100, 28)
HSLhsl(45, 63%, 30%)
HSVhsv(45, 77%, 49%)
CMYKcmyk(0%, 19.4%, 77.4%, 51.4%)
CIE-LABlab(43.48, 1.75, 42.07)
CIE-LCHlch(43.48, 42.11, 87.62°)
OKLaboklab(51.35% 0.0006 0.0927)
OKLCHoklch(51.35% 0.093 89.6)
XYZxyz(13.0797, 13.4841, 3.0122)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C641C #1C347C
analogous
#7C341C #7C641C #647C1C
triadic
#7C641C #1C7C64 #641C7C
tetradic
#7C641C #1C7C34 #1C347C #7C1C64
square
#7C641C #1C7C34 #1C347C #7C1C64
split-complementary
#7C641C #1C647C #341C7C
monochromatic
#191406 #4A3C11 #7C641C #AE8C27 #D4AE3F

Accessibility & contrast

On white

5.68
#7C641C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7C641C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C641C
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C641C#FFFFFF#000000##FFFFFF
##7C641C1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706310
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#875B56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c641c;
/* rgb */ color: rgb(124, 100, 28);
/* oklch */ color: oklch(51.3% 0.093 89.6);
Tailwind
colors: {
  custom: {
    50: '#a58f5e',
    500: '#7c641c',
    950: '#000000',
  },
}
SCSS
$custom: #7c641c;
$custom-light: #a58f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c641c",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 45,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.09272,
    "h": 89.6
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#7C641C
secondary
#445FB0
accent
#6BE642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C641C

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

Preview Lab → · Contrast checker → · Palette generator →

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