#7B7F15#7B7F15

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

Color values

HEX#7B7F15
RGBrgb(123, 127, 21)
HSLhsl(62, 72%, 29%)
HSVhsv(62, 83%, 50%)
CMYKcmyk(3.1%, 0%, 83.5%, 50.2%)
CIE-LABlab(51.20, -14.20, 51.53)
CIE-LCHlch(51.20, 53.45, 105.41°)
OKLaboklab(57.45% -0.0449 0.1115)
OKLCHoklch(57.45% 0.12 111.9)
XYZxyz(15.8937, 19.4443, 3.6252)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7F15 #19157F
analogous
#7F4E15 #7B7F15 #467F15
triadic
#7B7F15 #157B7F #7F157B
tetradic
#7B7F15 #157F4E #19157F #7F1546
square
#7B7F15 #157F4E #19157F #7F1546
split-complementary
#7B7F15 #15467F #4E157F
monochromatic
#191A04 #484A0C #7B7F15 #AEB41E #D7DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7F15#FFFFFF#000000##000000
##7B7F151.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)
#897900
Deuteranopia (green-blind)
#8A7B1F
Tritanopia (blue-blind)
#84776C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b7f15;
/* rgb */ color: rgb(123, 127, 21);
/* oklch */ color: oklch(57.4% 0.120 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a35e',
    500: '#7b7f15',
    950: '#000000',
  },
}
SCSS
$custom: #7b7f15;
$custom-light: #a5a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7f15",
  "rgb": {
    "r": 123,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 62.264,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57447,
    "c": 0.12024,
    "h": 111.9
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#7B7F15
secondary
#403CB4
accent
#39EE40
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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