#7B6915#7B6915

#7B6915 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.3% C 0.100 H 96.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7B6915
RGBrgb(123, 105, 21)
HSLhsl(49, 71%, 28%)
HSVhsv(49, 83%, 48%)
CMYKcmyk(0%, 14.6%, 82.9%, 51.8%)
CIE-LABlab(44.76, -1.94, 45.87)
CIE-LCHlch(44.76, 45.91, 92.42°)
OKLaboklab(52.32% -0.0106 0.0993)
OKLCHoklch(52.32% 0.1 96.1)
XYZxyz(13.3560, 14.3690, 2.7793)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6915 #15277B
analogous
#7B3615 #7B6915 #5A7B15
triadic
#7B6915 #157B69 #69157B
tetradic
#7B6915 #157B36 #15277B #7B155A
square
#7B6915 #157B36 #15277B #7B155A
split-complementary
#7B6915 #155A7B #36157B
monochromatic
#1A1604 #473C0C #7B6915 #AF961E #DBBD2F

Accessibility & contrast

On white

5.42
#7B6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7B6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6915
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6915#FFFFFF#000000##FFFFFF
##7B69151.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#866059
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b6915;
/* rgb */ color: rgb(123, 105, 21);
/* oklch */ color: oklch(52.3% 0.100 96.1);
Tailwind
colors: {
  custom: {
    50: '#a5935b',
    500: '#7b6915',
    950: '#000000',
  },
}
SCSS
$custom: #7b6915;
$custom-light: #a5935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6915",
  "rgb": {
    "r": 123,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 49.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.0999,
    "h": 96.1
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#7B6915
secondary
#3B50B0
accent
#5AEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6915

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

Preview Lab → · Contrast checker → · Palette generator →

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