#7A7F14#7A7F14

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

Color values

HEX#7A7F14
RGBrgb(122, 127, 20)
HSLhsl(63, 73%, 29%)
HSVhsv(63, 84%, 50%)
CMYKcmyk(3.9%, 0%, 84.3%, 50.2%)
CIE-LABlab(51.11, -14.70, 51.70)
CIE-LCHlch(51.11, 53.75, 105.87°)
OKLaboklab(57.35% -0.0463 0.1118)
OKLCHoklch(57.35% 0.121 112.5)
XYZxyz(15.7422, 19.3672, 3.5707)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7F14 #19147F
analogous
#7F4F14 #7A7F14 #457F14
triadic
#7A7F14 #147A7F #7F147A
tetradic
#7A7F14 #147F4F #19147F #7F1445
square
#7A7F14 #147F4F #19147F #7F1445
split-complementary
#7A7F14 #14457F #4F147F
monochromatic
#191A04 #474A0C #7A7F14 #ADB41C #D6DE2F

Accessibility & contrast

On white

4.31
#7A7F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7A7F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7F14
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7F14#FFFFFF#000000##000000
##7A7F141.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a7f14;
/* rgb */ color: rgb(122, 127, 20);
/* oklch */ color: oklch(57.4% 0.121 112.5);
Tailwind
colors: {
  custom: {
    50: '#a4a35e',
    500: '#7a7f14',
    950: '#000000',
  },
}
SCSS
$custom: #7a7f14;
$custom-light: #a4a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7f14",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 62.804,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57354,
    "c": 0.12097,
    "h": 112.5
  },
  "luminance": 0.19367
}

Semantic roles & 50–950 ramp

primary
#7A7F14
secondary
#403BB4
accent
#38EF41
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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