#7B7C15#7B7C15

#7B7C15 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.117 H 110.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B7C15
RGBrgb(123, 124, 21)
HSLhsl(61, 71%, 28%)
HSVhsv(61, 83%, 49%)
CMYKcmyk(0.8%, 0%, 83.1%, 51.4%)
CIE-LABlab(50.31, -12.59, 50.75)
CIE-LCHlch(50.31, 52.29, 103.93°)
OKLaboklab(56.73% -0.0404 0.1099)
OKLCHoklch(56.73% 0.117 110.2)
XYZxyz(15.5120, 18.6809, 3.4980)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7C15 #16157C
analogous
#7C4915 #7B7C15 #477C15
triadic
#7B7C15 #157B7C #7C157B
tetradic
#7B7C15 #157C49 #16157C #7C1547
square
#7B7C15 #157C49 #16157C #7C1547
split-complementary
#7B7C15 #15477C #49157C
monochromatic
#1A1A04 #47480C #7B7C15 #AFB01E #DADC30

Accessibility & contrast

On white

4.43
#7B7C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7B7C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7C15
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7C15#FFFFFF#000000##000000
##7B7C151.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#88791F
Tritanopia (blue-blind)
#847469
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b7c15;
/* rgb */ color: rgb(123, 124, 21);
/* oklch */ color: oklch(56.7% 0.117 110.2);
Tailwind
colors: {
  custom: {
    50: '#a5a15e',
    500: '#7b7c15',
    950: '#000000',
  },
}
SCSS
$custom: #7b7c15;
$custom-light: #a5a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7c15",
  "rgb": {
    "r": 123,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 60.583,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.11706,
    "h": 110.2
  },
  "luminance": 0.1868
}

Semantic roles & 50–950 ramp

primary
#7B7C15
secondary
#3D3CB1
accent
#3AEE3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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