#7B7A15#7B7A15

#7B7A15 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.115 H 109.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B7A15
RGBrgb(123, 122, 21)
HSLhsl(59, 71%, 28%)
HSVhsv(59, 83%, 48%)
CMYKcmyk(0%, 0.8%, 82.9%, 51.8%)
CIE-LABlab(49.72, -11.50, 50.23)
CIE-LCHlch(49.72, 51.53, 102.89°)
OKLaboklab(56.26% -0.0374 0.1088)
OKLCHoklch(56.26% 0.115 109)
XYZxyz(15.2639, 18.1847, 3.4153)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7A15 #15167B
analogous
#7B4715 #7B7A15 #497B15
triadic
#7B7A15 #157B7A #7A157B
tetradic
#7B7A15 #157B47 #15167B #7B1549
square
#7B7A15 #157B47 #15167B #7B1549
split-complementary
#7B7A15 #15497B #47157B
monochromatic
#1A1A04 #47460C #7B7A15 #AFAE1E #DBDA2F

Accessibility & contrast

On white

4.53
#7B7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B7A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7A15
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7A15#FFFFFF#000000##000000
##7B7A151.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#847268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7a15;
/* rgb */ color: rgb(123, 122, 21);
/* oklch */ color: oklch(56.3% 0.115 109.0);
Tailwind
colors: {
  custom: {
    50: '#a5a05d',
    500: '#7b7a15',
    950: '#000000',
  },
}
SCSS
$custom: #7b7a15;
$custom-light: #a5a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7a15",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 59.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56261,
    "c": 0.115,
    "h": 109
  },
  "luminance": 0.18184
}

Semantic roles & 50–950 ramp

primary
#7B7A15
secondary
#3B3DB0
accent
#3CEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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