#7A7D14#7A7D14

#7A7D14 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.119 H 111.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A7D14
RGBrgb(122, 125, 20)
HSLhsl(62, 72%, 28%)
HSVhsv(62, 84%, 49%)
CMYKcmyk(2.4%, 0%, 84%, 51%)
CIE-LABlab(50.52, -13.62, 51.18)
CIE-LCHlch(50.52, 52.97, 104.91°)
OKLaboklab(56.88% -0.0433 0.1107)
OKLCHoklch(56.88% 0.119 111.4)
XYZxyz(15.4865, 18.8557, 3.4854)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D14 #17147D
analogous
#7D4B14 #7A7D14 #457D14
triadic
#7A7D14 #147A7D #7D147A
tetradic
#7A7D14 #147D4B #17147D #7D1445
square
#7A7D14 #147D4B #17147D #7D1445
split-complementary
#7A7D14 #14457D #4B147D
monochromatic
#1A1A04 #47480C #7A7D14 #ADB21C #D9DE2E

Accessibility & contrast

On white

4.40
#7A7D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7A7D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7D14
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7D14#FFFFFF#000000##000000
##7A7D141.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#83756A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a7d14;
/* rgb */ color: rgb(122, 125, 20);
/* oklch */ color: oklch(56.9% 0.119 111.4);
Tailwind
colors: {
  custom: {
    50: '#a4a25d',
    500: '#7a7d14',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d14;
$custom-light: #a4a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d14",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 61.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.11884,
    "h": 111.4
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#7A7D14
secondary
#3E3AB2
accent
#39EF3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7A7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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