#7A8714#7A8714

#7A8714 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.130 H 116.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7A8714
RGBrgb(122, 135, 20)
HSLhsl(67, 74%, 30%)
HSVhsv(67, 85%, 53%)
CMYKcmyk(9.6%, 0%, 85.2%, 47.1%)
CIE-LABlab(53.51, -18.91, 53.76)
CIE-LCHlch(53.51, 56.99, 109.39°)
OKLaboklab(59.28% -0.0579 0.1162)
OKLCHoklch(59.28% 0.13 116.5)
XYZxyz(16.8168, 21.5163, 3.9288)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8714 #211487
analogous
#875B14 #7A8714 #408714
triadic
#7A8714 #147A87 #87147A
tetradic
#7A8714 #14875B #211487 #871440
square
#7A8714 #14875B #211487 #871440
split-complementary
#7A8714 #144087 #5B1487
monochromatic
#1A1C04 #4A520C #7A8714 #AABC1C #CDE134

Accessibility & contrast

On white

3.96
#7A8714 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7A8714 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8714
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8714#FFFFFF#000000##000000
##7A87141.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#827F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a8714;
/* rgb */ color: rgb(122, 135, 20);
/* oklch */ color: oklch(59.3% 0.130 116.5);
Tailwind
colors: {
  custom: {
    50: '#a4a95f',
    500: '#7a8714',
    950: '#000000',
  },
}
SCSS
$custom: #7a8714;
$custom-light: #a4a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8714",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 20
  },
  "hsl": {
    "h": 66.783,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.59277,
    "c": 0.12984,
    "h": 116.5
  },
  "luminance": 0.21516
}

Semantic roles & 50–950 ramp

primary
#7A8714
secondary
#4A3BBB
accent
#37F14C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8714

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

Preview Lab → · Contrast checker → · Palette generator →

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