#7C641B#7C641B

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

Color values

HEX#7C641B
RGBrgb(124, 100, 27)
HSLhsl(45, 64%, 30%)
HSVhsv(45, 78%, 49%)
CMYKcmyk(0%, 19.4%, 78.2%, 51.4%)
CIE-LABlab(43.48, 1.70, 42.48)
CIE-LCHlch(43.48, 42.51, 87.71°)
OKLaboklab(51.34% 0.0003 0.0934)
OKLCHoklch(51.34% 0.093 89.8)
XYZxyz(13.0679, 13.4794, 2.9502)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C641B #1B337C
analogous
#7C341B #7C641B #637C1B
triadic
#7C641B #1B7C64 #641B7C
tetradic
#7C641B #1B7C34 #1B337C #7C1B63
square
#7C641B #1B7C34 #1B337C #7C1B63
split-complementary
#7C641B #1B637C #341B7C
monochromatic
#191405 #4A3B10 #7C641B #AE8D26 #D5AF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C641B#FFFFFF#000000##FFFFFF
##7C641B1.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)
#70630F
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#875B56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c641b;
/* rgb */ color: rgb(124, 100, 27);
/* oklch */ color: oklch(51.3% 0.093 89.8);
Tailwind
colors: {
  custom: {
    50: '#a68f5d',
    500: '#7c641b',
    950: '#000000',
  },
}
SCSS
$custom: #7c641b;
$custom-light: #a68f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c641b",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 45.155,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5134,
    "c": 0.09336,
    "h": 89.8
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#7C641B
secondary
#435EB0
accent
#6AE741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C641B

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

Preview Lab → · Contrast checker → · Palette generator →

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