#7B641C#7B641C

#7B641C is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.2% C 0.092 H 90.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7B641C
RGBrgb(123, 100, 28)
HSLhsl(45, 63%, 30%)
HSVhsv(45, 77%, 48%)
CMYKcmyk(0%, 18.7%, 77.2%, 51.8%)
CIE-LABlab(43.37, 1.27, 41.93)
CIE-LCHlch(43.37, 41.95, 88.27°)
OKLaboklab(51.24% -0.0007 0.0925)
OKLCHoklch(51.24% 0.092 90.4)
XYZxyz(12.9359, 13.4099, 3.0054)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B641C #1C337B
analogous
#7B351C #7B641C #637B1C
triadic
#7B641C #1C7B64 #641C7B
tetradic
#7B641C #1C7B35 #1C337B #7B1C63
square
#7B641C #1C7B35 #1C337B #7B1C63
split-complementary
#7B641C #1C637B #351C7B
monochromatic
#191406 #493B11 #7B641C #AD8D27 #D3AF3E

Accessibility & contrast

On white

5.70
#7B641C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7B641C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B641C
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B641C#FFFFFF#000000##FFFFFF
##7B641C1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706310
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#865B56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b641c;
/* rgb */ color: rgb(123, 100, 28);
/* oklch */ color: oklch(51.2% 0.092 90.4);
Tailwind
colors: {
  custom: {
    50: '#a58f5e',
    500: '#7b641c',
    950: '#000000',
  },
}
SCSS
$custom: #7b641c;
$custom-light: #a58f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b641c",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 45.474,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51236,
    "c": 0.09246,
    "h": 90.4
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#7B641C
secondary
#445EAF
accent
#6AE642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B641C

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

Preview Lab → · Contrast checker → · Palette generator →

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