#7A7E18#7A7E18

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

Color values

HEX#7A7E18
RGBrgb(122, 126, 24)
HSLhsl(62, 68%, 29%)
HSVhsv(62, 81%, 49%)
CMYKcmyk(3.2%, 0%, 81%, 50.6%)
CIE-LABlab(50.83, -14.01, 50.27)
CIE-LCHlch(50.83, 52.19, 105.58°)
OKLaboklab(57.14% -0.0441 0.1095)
OKLCHoklch(57.14% 0.118 111.9)
XYZxyz(15.6523, 19.1256, 3.7311)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E18 #1C187E
analogous
#7E4F18 #7A7E18 #477E18
triadic
#7A7E18 #187A7E #7E187A
tetradic
#7A7E18 #187E4F #1C187E #7E1847
square
#7A7E18 #187E4F #1C187E #7E1847
split-complementary
#7A7E18 #18477E #4F187E
monochromatic
#191A05 #484B0E #7A7E18 #ACB122 #D3D937

Accessibility & contrast

On white

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

On black

4.83
#7A7E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E18
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E18#FFFFFF#000000##000000
##7A7E181.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a7e18;
/* rgb */ color: rgb(122, 126, 24);
/* oklch */ color: oklch(57.1% 0.118 111.9);
Tailwind
colors: {
  custom: {
    50: '#a4a35f',
    500: '#7a7e18',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e18;
$custom-light: #a4a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e18",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 62.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.118,
    "h": 111.9
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

primary
#7A7E18
secondary
#443FB2
accent
#3DEB44
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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