#7B8014#7B8014

#7B8014 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.122 H 112.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7B8014
RGBrgb(123, 128, 20)
HSLhsl(63, 73%, 29%)
HSVhsv(63, 84%, 50%)
CMYKcmyk(3.9%, 0%, 84.4%, 49.8%)
CIE-LABlab(51.50, -14.77, 52.06)
CIE-LCHlch(51.50, 54.12, 105.84°)
OKLaboklab(57.68% -0.0466 0.1125)
OKLCHoklch(57.68% 0.122 112.5)
XYZxyz(16.0144, 19.7002, 3.6206)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8014 #191480
analogous
#804F14 #7B8014 #458014
triadic
#7B8014 #147B80 #80147B
tetradic
#7B8014 #14804F #191480 #801445
square
#7B8014 #14804F #191480 #801445
split-complementary
#7B8014 #144580 #4F1480
monochromatic
#191A04 #484B0C #7B8014 #AEB51C #D7DF30

Accessibility & contrast

On white

4.25
#7B8014 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7B8014 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8014
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8014#FFFFFF#000000##000000
##7B80141.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#84786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b8014;
/* rgb */ color: rgb(123, 128, 20);
/* oklch */ color: oklch(57.7% 0.122 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a45e',
    500: '#7b8014',
    950: '#000000',
  },
}
SCSS
$custom: #7b8014;
$custom-light: #a5a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8014",
  "rgb": {
    "r": 123,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 62.778,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.12175,
    "h": 112.5
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#7B8014
secondary
#403BB5
accent
#38F041
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B8014

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

Preview Lab → · Contrast checker → · Palette generator →

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