#7A7E14#7A7E14

#7A7E14 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.120 H 112.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7A7E14
RGBrgb(122, 126, 20)
HSLhsl(62, 73%, 29%)
HSVhsv(62, 84%, 49%)
CMYKcmyk(3.2%, 0%, 84.1%, 50.6%)
CIE-LABlab(50.82, -14.16, 51.44)
CIE-LCHlch(50.82, 53.35, 105.39°)
OKLaboklab(57.12% -0.0448 0.1112)
OKLCHoklch(57.12% 0.12 112)
XYZxyz(15.6137, 19.1102, 3.5278)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E14 #18147E
analogous
#7E4D14 #7A7E14 #457E14
triadic
#7A7E14 #147A7E #7E147A
tetradic
#7A7E14 #147E4D #18147E #7E1445
square
#7A7E14 #147E4D #18147E #7E1445
split-complementary
#7A7E14 #14457E #4D147E
monochromatic
#1A1A04 #47490C #7A7E14 #ADB31C #D7DE2E

Accessibility & contrast

On white

4.36
#7A7E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7A7E14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E14
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E14#FFFFFF#000000##000000
##7A7E141.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#83766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a7e14;
/* rgb */ color: rgb(122, 126, 20);
/* oklch */ color: oklch(57.1% 0.120 112.0);
Tailwind
colors: {
  custom: {
    50: '#a4a35e',
    500: '#7a7e14',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e14;
$custom-light: #a4a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e14",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 62.264,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57115,
    "c": 0.1199,
    "h": 112
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#7A7E14
secondary
#3F3AB3
accent
#38EF3F
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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