#7A7518#7A7518

#7A7518 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.109 H 106.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7A7518
RGBrgb(122, 117, 24)
HSLhsl(57, 67%, 29%)
HSVhsv(57, 80%, 48%)
CMYKcmyk(0%, 4.1%, 80.3%, 52.2%)
CIE-LABlab(48.17, -9.09, 47.87)
CIE-LCHlch(48.17, 48.73, 100.76°)
OKLaboklab(55.01% -0.0304 0.1043)
OKLCHoklch(55.01% 0.109 106.3)
XYZxyz(14.5528, 16.9266, 3.3646)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7518 #181D7A
analogous
#7A4418 #7A7518 #4E7A18
triadic
#7A7518 #187A75 #75187A
tetradic
#7A7518 #187A44 #181D7A #7A184E
square
#7A7518 #187A44 #181D7A #7A184E
split-complementary
#7A7518 #184E7A #44187A
monochromatic
#1A1905 #47440E #7A7518 #ADA622 #D7CF35

Accessibility & contrast

On white

4.79
#7A7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7A7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7518
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7518#FFFFFF#000000##FFFFFF
##7A75181.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807001
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#846D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7518;
/* rgb */ color: rgb(122, 117, 24);
/* oklch */ color: oklch(55.0% 0.109 106.3);
Tailwind
colors: {
  custom: {
    50: '#a49c5e',
    500: '#7a7518',
    950: '#000000',
  },
}
SCSS
$custom: #7a7518;
$custom-light: #a49c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7518",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 56.939,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.10867,
    "h": 106.3
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#7A7518
secondary
#3F45AF
accent
#47EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7518

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

Preview Lab → · Contrast checker → · Palette generator →

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