#7B7D15#7B7D15

#7B7D15 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.118 H 110.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B7D15
RGBrgb(123, 125, 21)
HSLhsl(61, 71%, 29%)
HSVhsv(61, 83%, 49%)
CMYKcmyk(1.6%, 0%, 83.2%, 51%)
CIE-LABlab(50.61, -13.13, 51.01)
CIE-LCHlch(50.61, 52.67, 104.43°)
OKLaboklab(56.97% -0.0419 0.1104)
OKLCHoklch(56.97% 0.118 110.8)
XYZxyz(15.6379, 18.9328, 3.5400)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D15 #17157D
analogous
#7D4B15 #7B7D15 #477D15
triadic
#7B7D15 #157B7D #7D157B
tetradic
#7B7D15 #157D4B #17157D #7D1547
square
#7B7D15 #157D4B #17157D #7D1547
split-complementary
#7B7D15 #15477D #4B157D
monochromatic
#1A1A04 #47490C #7B7D15 #AFB11E #D9DC30

Accessibility & contrast

On white

4.39
#7B7D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7B7D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D15
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D15#FFFFFF#000000##000000
##7B7D151.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#887A1F
Tritanopia (blue-blind)
#84756A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b7d15;
/* rgb */ color: rgb(123, 125, 21);
/* oklch */ color: oklch(57.0% 0.118 110.8);
Tailwind
colors: {
  custom: {
    50: '#a5a25e',
    500: '#7b7d15',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d15;
$custom-light: #a5a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d15",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 61.154,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56972,
    "c": 0.11812,
    "h": 110.8
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#7B7D15
secondary
#3E3CB2
accent
#3AEE3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7B7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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