#7B7F10#7B7F10

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

Color values

HEX#7B7F10
RGBrgb(123, 127, 16)
HSLhsl(62, 78%, 28%)
HSVhsv(62, 87%, 50%)
CMYKcmyk(3.1%, 0%, 87.4%, 50.2%)
CIE-LABlab(51.18, -14.36, 52.82)
CIE-LCHlch(51.18, 54.74, 105.21°)
OKLaboklab(57.43% -0.0457 0.1134)
OKLCHoklch(57.43% 0.122 111.9)
XYZxyz(15.8519, 19.4275, 3.4050)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7F10 #14107F
analogous
#7F4B10 #7B7F10 #437F10
triadic
#7B7F10 #107B7F #7F107B
tetradic
#7B7F10 #107F4B #14107F #7F1043
square
#7B7F10 #107F4B #14107F #7F1043
split-complementary
#7B7F10 #10437F #4B107F
monochromatic
#1A1B03 #464909 #7B7F10 #B0B517 #DDE426

Accessibility & contrast

On white

4.30
#7B7F10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7F10#FFFFFF#000000##000000
##7B7F101.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B1C
Tritanopia (blue-blind)
#84766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b7f10;
/* rgb */ color: rgb(123, 127, 16);
/* oklch */ color: oklch(57.4% 0.122 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a35c',
    500: '#7b7f10',
    950: '#000000',
  },
}
SCSS
$custom: #7b7f10;
$custom-light: #a5a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7f10",
  "rgb": {
    "r": 123,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 62.162,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.12229,
    "h": 111.9
  },
  "luminance": 0.19427
}

Semantic roles & 50–950 ramp

primary
#7B7F10
secondary
#3A36B5
accent
#34F43B
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7F10

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

Preview Lab → · Contrast checker → · Palette generator →

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