#7A7A14#7A7A14

#7A7A14 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.116 H 109.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7A7A14
RGBrgb(122, 122, 20)
HSLhsl(60, 72%, 28%)
HSVhsv(60, 84%, 48%)
CMYKcmyk(0%, 0%, 83.6%, 52.2%)
CIE-LABlab(49.63, -12.00, 50.41)
CIE-LCHlch(49.63, 51.82, 103.39°)
OKLaboklab(56.16% -0.0388 0.109)
OKLCHoklch(56.16% 0.116 109.6)
XYZxyz(15.1124, 18.1076, 3.3607)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7A14 #14147A
analogous
#7A4714 #7A7A14 #477A14
triadic
#7A7A14 #147A7A #7A147A
tetradic
#7A7A14 #147A47 #14147A #7A1447
square
#7A7A14 #147A47 #14147A #7A1447
split-complementary
#7A7A14 #14477A #47147A
monochromatic
#1A1A04 #45450B #7A7A14 #AFAF1D #DCDC2C

Accessibility & contrast

On white

4.54
#7A7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7A7A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7A14
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7A14#FFFFFF#000000##000000
##7A7A141.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#837268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a7a14;
/* rgb */ color: rgb(122, 122, 20);
/* oklch */ color: oklch(56.2% 0.116 109.6);
Tailwind
colors: {
  custom: {
    50: '#a4a05d',
    500: '#7a7a14',
    950: '#000000',
  },
}
SCSS
$custom: #7a7a14;
$custom-light: #a4a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7a14",
  "rgb": {
    "r": 122,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.11569,
    "h": 109.6
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#7A7A14
secondary
#3A3AB0
accent
#39EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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