#7B681B#7B681B

#7B681B is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.1% C 0.096 H 94.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7B681B
RGBrgb(123, 104, 27)
HSLhsl(48, 64%, 29%)
HSVhsv(48, 78%, 48%)
CMYKcmyk(0%, 15.4%, 78%, 51.8%)
CIE-LABlab(44.51, -1.11, 43.42)
CIE-LCHlch(44.51, 43.43, 91.46°)
OKLaboklab(52.13% -0.0076 0.0954)
OKLCHoklch(52.13% 0.096 94.6)
XYZxyz(13.3172, 14.1915, 3.0745)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B681B #1B2E7B
analogous
#7B381B #7B681B #5E7B1B
triadic
#7B681B #1B7B68 #681B7B
tetradic
#7B681B #1B7B38 #1B2E7B #7B1B5E
square
#7B681B #1B7B38 #1B2E7B #7B1B5E
split-complementary
#7B681B #1B5E7B #381B7B
monochromatic
#191506 #493E10 #7B681B #AD9226 #D4B63C

Accessibility & contrast

On white

5.47
#7B681B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7B681B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B681B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B681B#FFFFFF#000000##FFFFFF
##7B681B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660D
Deuteranopia (green-blind)
#786C20
Tritanopia (blue-blind)
#855F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b681b;
/* rgb */ color: rgb(123, 104, 27);
/* oklch */ color: oklch(52.1% 0.096 94.6);
Tailwind
colors: {
  custom: {
    50: '#a5925e',
    500: '#7b681b',
    950: '#000000',
  },
}
SCSS
$custom: #7b681b;
$custom-light: #a5925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b681b",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 48.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.09571,
    "h": 94.6
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#7B681B
secondary
#4358AF
accent
#62E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7B681B

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

Preview Lab → · Contrast checker → · Palette generator →

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