#7B7E16#7B7E16

#7B7E16 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#7B7E16
RGBrgb(123, 126, 22)
HSLhsl(62, 70%, 29%)
HSVhsv(62, 83%, 49%)
CMYKcmyk(2.4%, 0%, 82.5%, 50.6%)
CIE-LABlab(50.91, -13.63, 50.98)
CIE-LCHlch(50.91, 52.77, 104.97°)
OKLaboklab(57.21% -0.0432 0.1105)
OKLCHoklch(57.21% 0.119 111.4)
XYZxyz(15.7746, 19.1910, 3.6322)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7E16 #19167E
analogous
#7E4D16 #7B7E16 #477E16
triadic
#7B7E16 #167B7E #7E167B
tetradic
#7B7E16 #167E4D #19167E #7E1647
square
#7B7E16 #167E4D #19167E #7E1647
split-complementary
#7B7E16 #16477E #4D167E
monochromatic
#191A05 #484A0D #7B7E16 #AEB21F #D7DB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7E16#FFFFFF#000000##000000
##7B7E161.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)
#887800
Deuteranopia (green-blind)
#897A20
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7e16;
/* rgb */ color: rgb(123, 126, 22);
/* oklch */ color: oklch(57.2% 0.119 111.4);
Tailwind
colors: {
  custom: {
    50: '#a5a35e',
    500: '#7b7e16',
    950: '#000000',
  },
}
SCSS
$custom: #7b7e16;
$custom-light: #a5a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7e16",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 61.731,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57214,
    "c": 0.1187,
    "h": 111.4
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#7B7E16
secondary
#403DB3
accent
#3BED40
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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