#7B7E15#7B7E15

#7B7E15 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.119 H 111.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7B7E15
RGBrgb(123, 126, 21)
HSLhsl(62, 71%, 29%)
HSVhsv(62, 83%, 49%)
CMYKcmyk(2.4%, 0%, 83.3%, 50.6%)
CIE-LABlab(50.91, -13.67, 51.27)
CIE-LCHlch(50.91, 53.06, 104.93°)
OKLaboklab(57.21% -0.0434 0.111)
OKLCHoklch(57.21% 0.119 111.4)
XYZxyz(15.7652, 19.1872, 3.5824)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7E15 #18157E
analogous
#7E4D15 #7B7E15 #477E15
triadic
#7B7E15 #157B7E #7E157B
tetradic
#7B7E15 #157E4D #18157E #7E1547
square
#7B7E15 #157E4D #18157E #7E1547
split-complementary
#7B7E15 #15477E #4D157E
monochromatic
#1A1A04 #484A0C #7B7E15 #AEB21E #D8DD31

Accessibility & contrast

On white

4.34
#7B7E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7B7E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7E15
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7E15#FFFFFF#000000##000000
##7B7E151.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7e15;
/* rgb */ color: rgb(123, 126, 21);
/* oklch */ color: oklch(57.2% 0.119 111.4);
Tailwind
colors: {
  custom: {
    50: '#a5a35e',
    500: '#7b7e15',
    950: '#000000',
  },
}
SCSS
$custom: #7b7e15;
$custom-light: #a5a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7e15",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 61.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.11917,
    "h": 111.4
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#7B7E15
secondary
#3F3CB3
accent
#3AEE3F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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