#7B651F#7B651F

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

Color values

HEX#7B651F
RGBrgb(123, 101, 31)
HSLhsl(46, 60%, 30%)
HSVhsv(46, 75%, 48%)
CMYKcmyk(0%, 17.9%, 74.8%, 51.8%)
CIE-LABlab(43.68, 0.84, 40.94)
CIE-LCHlch(43.68, 40.95, 88.83°)
OKLaboklab(51.48% -0.0016 0.091)
OKLCHoklch(51.48% 0.091 91)
XYZxyz(13.0701, 13.6180, 3.2362)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B651F #1F357B
analogous
#7B371F #7B651F #637B1F
triadic
#7B651F #1F7B65 #651F7B
tetradic
#7B651F #1F7B37 #1F357B #7B1F63
square
#7B651F #1F7B37 #1F357B #7B1F63
split-complementary
#7B651F #1F637B #371F7B
monochromatic
#191506 #4A3D13 #7B651F #AC8D2B #D0AF44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B651F#FFFFFF#000000##FFFFFF
##7B651F1.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)
#716415
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#855C57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b651f;
/* rgb */ color: rgb(123, 101, 31);
/* oklch */ color: oklch(51.5% 0.091 91.0);
Tailwind
colors: {
  custom: {
    50: '#a4905f',
    500: '#7b651f',
    950: '#000000',
  },
}
SCSS
$custom: #7b651f;
$custom-light: #a4905f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b651f",
  "rgb": {
    "r": 123,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 45.652,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51484,
    "c": 0.09102,
    "h": 91
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#7B651F
secondary
#4860AE
accent
#6BE345
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7B651F

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

Preview Lab → · Contrast checker → · Palette generator →

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