#7B6213#7B6213

#7B6213 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.7% C 0.097 H 89.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7B6213
RGBrgb(123, 98, 19)
HSLhsl(46, 73%, 28%)
HSVhsv(46, 85%, 48%)
CMYKcmyk(0%, 20.3%, 84.6%, 51.8%)
CIE-LABlab(42.75, 2.06, 44.78)
CIE-LCHlch(42.75, 44.83, 87.37°)
OKLaboklab(50.73% 0.0006 0.0965)
OKLCHoklch(50.73% 0.097 89.7)
XYZxyz(12.6544, 12.9942, 2.4576)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6213 #132C7B
analogous
#7B2E13 #7B6213 #607B13
triadic
#7B6213 #137B62 #62137B
tetradic
#7B6213 #137B2E #132C7B #7B1360
square
#7B6213 #137B2E #132C7B #7B1360
split-complementary
#7B6213 #13607B #2E137B
monochromatic
#1B1504 #46380B #7B6213 #B08C1B #DEB32A

Accessibility & contrast

On white

5.84
#7B6213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7B6213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6213
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6213#FFFFFF#000000##FFFFFF
##7B62131.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6101
Deuteranopia (green-blind)
#756818
Tritanopia (blue-blind)
#865953
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b6213;
/* rgb */ color: rgb(123, 98, 19);
/* oklch */ color: oklch(50.7% 0.097 89.7);
Tailwind
colors: {
  custom: {
    50: '#a58e59',
    500: '#7b6213',
    950: '#000000',
  },
}
SCSS
$custom: #7b6213;
$custom-light: #a58e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6213",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 45.577,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.09653,
    "h": 89.7
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#7B6213
secondary
#3956B1
accent
#64F038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6213

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

Preview Lab → · Contrast checker → · Palette generator →

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