#7B651C#7B651C

#7B651C is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.5% C 0.093 H 91.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7B651C
RGBrgb(123, 101, 28)
HSLhsl(46, 63%, 30%)
HSVhsv(46, 77%, 48%)
CMYKcmyk(0%, 17.9%, 77.2%, 51.8%)
CIE-LABlab(43.66, 0.68, 42.20)
CIE-LCHlch(43.66, 42.21, 89.07°)
OKLaboklab(51.46% -0.0024 0.093)
OKLCHoklch(51.46% 0.093 91.5)
XYZxyz(13.0324, 13.6029, 3.0376)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B651C #1C327B
analogous
#7B351C #7B651C #627B1C
triadic
#7B651C #1C7B65 #651C7B
tetradic
#7B651C #1C7B35 #1C327B #7B1C62
square
#7B651C #1C7B35 #1C327B #7B1C62
split-complementary
#7B651C #1C627B #351C7B
monochromatic
#191406 #493C11 #7B651C #AD8E27 #D3B13E

Accessibility & contrast

On white

5.64
#7B651C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B651C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B651C
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B651C#FFFFFF#000000##FFFFFF
##7B651C1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716410
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#865C57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b651c;
/* rgb */ color: rgb(123, 101, 28);
/* oklch */ color: oklch(51.5% 0.093 91.5);
Tailwind
colors: {
  custom: {
    50: '#a5905e',
    500: '#7b651c',
    950: '#000000',
  },
}
SCSS
$custom: #7b651c;
$custom-light: #a5905e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b651c",
  "rgb": {
    "r": 123,
    "g": 101,
    "b": 28
  },
  "hsl": {
    "h": 46.105,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5146,
    "c": 0.09307,
    "h": 91.5
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

primary
#7B651C
secondary
#445DAF
accent
#68E642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7B651C

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

Preview Lab → · Contrast checker → · Palette generator →

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