#7B7F16#7B7F16

#7B7F16 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.120 H 111.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7B7F16
RGBrgb(123, 127, 22)
HSLhsl(62, 70%, 29%)
HSVhsv(62, 83%, 50%)
CMYKcmyk(3.1%, 0%, 82.7%, 50.2%)
CIE-LABlab(51.21, -14.17, 51.24)
CIE-LCHlch(51.21, 53.16, 105.46°)
OKLaboklab(57.45% -0.0447 0.1111)
OKLCHoklch(57.45% 0.12 111.9)
XYZxyz(15.9031, 19.4480, 3.6750)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7F16 #1A167F
analogous
#7F4F16 #7B7F16 #477F16
triadic
#7B7F16 #167B7F #7F167B
tetradic
#7B7F16 #167F4F #1A167F #7F1647
square
#7B7F16 #167F4F #1A167F #7F1647
split-complementary
#7B7F16 #16477F #4F167F
monochromatic
#191A05 #484B0D #7B7F16 #AEB31F #D5DC34

Accessibility & contrast

On white

4.29
#7B7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7B7F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7F16
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7F16#FFFFFF#000000##000000
##7B7F161.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#84776C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b7f16;
/* rgb */ color: rgb(123, 127, 22);
/* oklch */ color: oklch(57.5% 0.120 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a35e',
    500: '#7b7f16',
    950: '#000000',
  },
}
SCSS
$custom: #7b7f16;
$custom-light: #a5a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7f16",
  "rgb": {
    "r": 123,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 62.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57452,
    "c": 0.11977,
    "h": 111.9
  },
  "luminance": 0.19448
}

Semantic roles & 50–950 ramp

primary
#7B7F16
secondary
#423DB4
accent
#3BED41
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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