#7B682F#7B682F

#7B682F is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.080 H 91.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7B682F
RGBrgb(123, 104, 47)
HSLhsl(45, 45%, 33%)
HSVhsv(45, 62%, 48%)
CMYKcmyk(0%, 15.4%, 61.8%, 51.8%)
CIE-LABlab(44.68, 0.15, 34.30)
CIE-LCHlch(44.68, 34.30, 89.74°)
OKLaboklab(52.33% -0.0014 0.0796)
OKLCHoklch(52.33% 0.08 91)
XYZxyz(13.6324, 14.3175, 4.7343)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B682F #2F427B
analogous
#7B422F #7B682F #687B2F
triadic
#7B682F #2F7B68 #682F7B
tetradic
#7B682F #2F7B42 #2F427B #7B2F68
square
#7B682F #2F7B42 #2F427B #7B2F68
split-complementary
#7B682F #2F687B #422F7B
monochromatic
#221D0D #4F431E #7B682F #A78D40 #C3AB62

Accessibility & contrast

On white

5.44
#7B682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7B682F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B682F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B682F#FFFFFF#000000##FFFFFF
##7B682F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#85605B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b682f;
/* rgb */ color: rgb(123, 104, 47);
/* oklch */ color: oklch(52.3% 0.080 91.0);
Tailwind
colors: {
  custom: {
    50: '#a3926a',
    500: '#7b682f',
    950: '#000000',
  },
}
SCSS
$custom: #7b682f;
$custom-light: #a3926a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b682f",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 45,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.07961,
    "h": 91
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

primary
#7B682F
secondary
#5C6FAA
accent
#74D453
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #7B682F

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

Preview Lab → · Contrast checker → · Palette generator →

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