#7B7115#7B7115

#7B7115 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.106 H 102.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7B7115
RGBrgb(123, 113, 21)
HSLhsl(54, 71%, 28%)
HSVhsv(54, 83%, 48%)
CMYKcmyk(0%, 8.1%, 82.9%, 51.8%)
CIE-LABlab(47.07, -6.50, 47.92)
CIE-LCHlch(47.07, 48.36, 97.73°)
OKLaboklab(54.15% -0.0235 0.1038)
OKLCHoklch(54.15% 0.106 102.7)
XYZxyz(14.2095, 16.0760, 3.0638)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7115 #151F7B
analogous
#7B3E15 #7B7115 #527B15
triadic
#7B7115 #157B71 #71157B
tetradic
#7B7115 #157B3E #151F7B #7B1552
square
#7B7115 #157B3E #151F7B #7B1552
split-complementary
#7B7115 #15527B #3E157B
monochromatic
#1A1804 #47410C #7B7115 #AFA11E #DBCB2F

Accessibility & contrast

On white

4.98
#7B7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7B7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7115
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7115#FFFFFF#000000##FFFFFF
##7B71151.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7F721D
Tritanopia (blue-blind)
#856860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7115;
/* rgb */ color: rgb(123, 113, 21);
/* oklch */ color: oklch(54.2% 0.106 102.7);
Tailwind
colors: {
  custom: {
    50: '#a5995c',
    500: '#7b7115',
    950: '#000000',
  },
}
SCSS
$custom: #7b7115;
$custom-light: #a5995c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7115",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 54.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.10637,
    "h": 102.7
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#7B7115
secondary
#3B47B0
accent
#4CEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B7115

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

Preview Lab → · Contrast checker → · Palette generator →

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