#7B651B#7B651B

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

Color values

HEX#7B651B
RGBrgb(123, 101, 27)
HSLhsl(46, 64%, 29%)
HSVhsv(46, 78%, 48%)
CMYKcmyk(0%, 17.9%, 78%, 51.8%)
CIE-LABlab(43.65, 0.63, 42.60)
CIE-LCHlch(43.65, 42.61, 89.15°)
OKLaboklab(51.45% -0.0026 0.0937)
OKLCHoklch(51.45% 0.094 91.6)
XYZxyz(13.0206, 13.5982, 2.9756)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B651B #1B317B
analogous
#7B351B #7B651B #617B1B
triadic
#7B651B #1B7B65 #651B7B
tetradic
#7B651B #1B7B35 #1B317B #7B1B61
square
#7B651B #1B7B35 #1B317B #7B1B61
split-complementary
#7B651B #1B617B #351B7B
monochromatic
#191506 #493C10 #7B651B #AD8E26 #D4B13C

Accessibility & contrast

On white

5.65
#7B651B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B651B
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B651B#FFFFFF#000000##FFFFFF
##7B651B1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630E
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#865C57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b651b;
/* rgb */ color: rgb(123, 101, 27);
/* oklch */ color: oklch(51.5% 0.094 91.6);
Tailwind
colors: {
  custom: {
    50: '#a5905d',
    500: '#7b651b',
    950: '#000000',
  },
}
SCSS
$custom: #7b651b;
$custom-light: #a5905d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b651b",
  "rgb": {
    "r": 123,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 46.25,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.09372,
    "h": 91.6
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#7B651B
secondary
#435CAF
accent
#67E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B651B

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

Preview Lab → · Contrast checker → · Palette generator →

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