#7B681F#7B681F

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

Color values

HEX#7B681F
RGBrgb(123, 104, 31)
HSLhsl(48, 60%, 30%)
HSVhsv(48, 75%, 48%)
CMYKcmyk(0%, 15.4%, 74.8%, 51.8%)
CIE-LABlab(44.53, -0.91, 41.79)
CIE-LCHlch(44.53, 41.80, 91.25°)
OKLaboklab(52.16% -0.0066 0.0928)
OKLCHoklch(52.16% 0.093 94.1)
XYZxyz(13.3667, 14.2113, 3.3351)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B681F #1F327B
analogous
#7B3A1F #7B681F #607B1F
triadic
#7B681F #1F7B68 #681F7B
tetradic
#7B681F #1F7B3A #1F327B #7B1F60
square
#7B681F #1F7B3A #1F327B #7B1F60
split-complementary
#7B681F #1F607B #3A1F7B
monochromatic
#191506 #4A3F13 #7B681F #AC912B #D0B344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B681F#FFFFFF#000000##FFFFFF
##7B681F1.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)
#746614
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#855F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b681f;
/* rgb */ color: rgb(123, 104, 31);
/* oklch */ color: oklch(52.2% 0.093 94.1);
Tailwind
colors: {
  custom: {
    50: '#a49260',
    500: '#7b681f',
    950: '#000000',
  },
}
SCSS
$custom: #7b681f;
$custom-light: #a49260;
$custom-dark: #000000;
JSON
{
  "hex": "#7b681f",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 47.609,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.09303,
    "h": 94.1
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#7B681F
secondary
#485DAE
accent
#66E345
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7B681F

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

Preview Lab → · Contrast checker → · Palette generator →

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