#7A7E15#7A7E15

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

Color values

HEX#7A7E15
RGBrgb(122, 126, 21)
HSLhsl(62, 71%, 29%)
HSVhsv(62, 83%, 49%)
CMYKcmyk(3.2%, 0%, 83.3%, 50.6%)
CIE-LABlab(50.82, -14.13, 51.16)
CIE-LCHlch(50.82, 53.08, 105.44°)
OKLaboklab(57.12% -0.0446 0.1108)
OKLCHoklch(57.12% 0.119 112)
XYZxyz(15.6228, 19.1138, 3.5757)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E15 #19157E
analogous
#7E4E15 #7A7E15 #467E15
triadic
#7A7E15 #157A7E #7E157A
tetradic
#7A7E15 #157E4E #19157E #7E1546
square
#7A7E15 #157E4E #19157E #7E1546
split-complementary
#7A7E15 #15467E #4E157E
monochromatic
#191A04 #474A0C #7A7E15 #ADB21E #D6DD31

Accessibility & contrast

On white

4.35
#7A7E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7E15#FFFFFF#000000##000000
##7A7E151.004.354.824.82
#FFFFFF4.351.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: #7a7e15;
/* rgb */ color: rgb(122, 126, 21);
/* oklch */ color: oklch(57.1% 0.119 112.0);
Tailwind
colors: {
  custom: {
    50: '#a4a35e',
    500: '#7a7e15',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e15;
$custom-light: #a4a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e15",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 62.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.11945,
    "h": 112
  },
  "luminance": 0.19113
}

Semantic roles & 50–950 ramp

primary
#7A7E15
secondary
#403CB3
accent
#3AEE41
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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