#7A7D19#7A7D19

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

Color values

HEX#7A7D19
RGBrgb(122, 125, 25)
HSLhsl(62, 67%, 29%)
HSVhsv(62, 80%, 49%)
CMYKcmyk(2.4%, 0%, 80%, 51%)
CIE-LABlab(50.54, -13.43, 49.69)
CIE-LCHlch(50.54, 51.47, 105.13°)
OKLaboklab(56.9% -0.0424 0.1084)
OKLCHoklch(56.9% 0.116 111.4)
XYZxyz(15.5357, 18.8754, 3.7445)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D19 #1C197D
analogous
#7D4E19 #7A7D19 #487D19
triadic
#7A7D19 #197A7D #7D197A
tetradic
#7A7D19 #197D4E #1C197D #7D1948
square
#7A7D19 #197D4E #1C197D #7D1948
split-complementary
#7A7D19 #19487D #4E197D
monochromatic
#191A05 #484A0F #7A7D19 #ACB023 #D3D739

Accessibility & contrast

On white

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

On black

4.78
#7A7D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7D19
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7D19#FFFFFF#000000##000000
##7A7D191.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#83756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a7d19;
/* rgb */ color: rgb(122, 125, 25);
/* oklch */ color: oklch(56.9% 0.116 111.4);
Tailwind
colors: {
  custom: {
    50: '#a4a25f',
    500: '#7a7d19',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d19;
$custom-light: #a4a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d19",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 61.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56903,
    "c": 0.1164,
    "h": 111.4
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#7A7D19
secondary
#4440B1
accent
#3EEA43
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7A7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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