#7D7418#7D7418

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

Color values

HEX#7D7418
RGBrgb(125, 116, 24)
HSLhsl(55, 68%, 29%)
HSVhsv(55, 81%, 49%)
CMYKcmyk(0%, 7.2%, 80.8%, 51%)
CIE-LABlab(48.16, -7.12, 47.97)
CIE-LCHlch(48.16, 48.49, 98.45°)
OKLaboklab(55.06% -0.025 0.1044)
OKLCHoklch(55.06% 0.107 103.5)
XYZxyz(14.8684, 16.9173, 3.3462)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7418 #18217D
analogous
#7D4118 #7D7418 #547D18
triadic
#7D7418 #187D74 #74187D
tetradic
#7D7418 #187D41 #18217D #7D1854
square
#7D7418 #187D41 #18217D #7D1854
split-complementary
#7D7418 #18547D #41187D
monochromatic
#1A1805 #4A440E #7D7418 #B0A422 #D9CA37

Accessibility & contrast

On white

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

On black

4.38
#7D7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D7418#FFFFFF#000000##FFFFFF
##7D74181.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7001
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#876B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7418;
/* rgb */ color: rgb(125, 116, 24);
/* oklch */ color: oklch(55.1% 0.107 103.5);
Tailwind
colors: {
  custom: {
    50: '#a69b5e',
    500: '#7d7418',
    950: '#000000',
  },
}
SCSS
$custom: #7d7418;
$custom-light: #a69b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7418",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 54.653,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55063,
    "c": 0.10735,
    "h": 103.5
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#7D7418
secondary
#3F49B2
accent
#4DEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7418

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

Preview Lab → · Contrast checker → · Palette generator →

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