#7C641A#7C641A

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

Color values

HEX#7C641A
RGBrgb(124, 100, 26)
HSLhsl(45, 65%, 29%)
HSVhsv(45, 79%, 49%)
CMYKcmyk(0%, 19.4%, 79%, 51.4%)
CIE-LABlab(43.47, 1.65, 42.87)
CIE-LCHlch(43.47, 42.91, 87.79°)
OKLaboklab(51.33% 0.0001 0.094)
OKLCHoklch(51.33% 0.094 90)
XYZxyz(13.0566, 13.4748, 2.8903)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C641A #1A327C
analogous
#7C331A #7C641A #637C1A
triadic
#7C641A #1A7C64 #641A7C
tetradic
#7C641A #1A7C33 #1A327C #7C1A63
square
#7C641A #1A7C33 #1A327C #7C1A63
split-complementary
#7C641A #1A637C #331A7C
monochromatic
#191405 #493B0F #7C641A #AF8D25 #D6B03B

Accessibility & contrast

On white

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

On black

3.69
#7C641A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C641A#FFFFFF#000000##FFFFFF
##7C641A1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630D
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#875B56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c641a;
/* rgb */ color: rgb(124, 100, 26);
/* oklch */ color: oklch(51.3% 0.094 90.0);
Tailwind
colors: {
  custom: {
    50: '#a68f5d',
    500: '#7c641a',
    950: '#000000',
  },
}
SCSS
$custom: #7c641a;
$custom-light: #a68f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c641a",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 45.306,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.09399,
    "h": 90
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#7C641A
secondary
#425DB0
accent
#69E840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C641A

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

Preview Lab → · Contrast checker → · Palette generator →

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