#7D7618#7D7618

#7D7618 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.109 H 105.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D7618
RGBrgb(125, 118, 24)
HSLhsl(56, 68%, 29%)
HSVhsv(56, 81%, 49%)
CMYKcmyk(0%, 5.6%, 80.8%, 51%)
CIE-LABlab(48.74, -8.24, 48.49)
CIE-LCHlch(48.74, 49.19, 99.64°)
OKLaboklab(55.53% -0.0282 0.1055)
OKLCHoklch(55.53% 0.109 105)
XYZxyz(15.1014, 17.3834, 3.4238)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7618 #181F7D
analogous
#7D4418 #7D7618 #527D18
triadic
#7D7618 #187D76 #76187D
tetradic
#7D7618 #187D44 #181F7D #7D1852
square
#7D7618 #187D44 #181F7D #7D1852
split-complementary
#7D7618 #18527D #44187D
monochromatic
#1A1805 #4A460E #7D7618 #B0A622 #D9CD37

Accessibility & contrast

On white

4.69
#7D7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7618
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7618#FFFFFF#000000##FFFFFF
##7D76181.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7618;
/* rgb */ color: rgb(125, 118, 24);
/* oklch */ color: oklch(55.5% 0.109 105.0);
Tailwind
colors: {
  custom: {
    50: '#a69d5e',
    500: '#7d7618',
    950: '#000000',
  },
}
SCSS
$custom: #7d7618;
$custom-light: #a69d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7618",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 55.842,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55528,
    "c": 0.10922,
    "h": 105
  },
  "luminance": 0.17383
}

Semantic roles & 50–950 ramp

primary
#7D7618
secondary
#3F47B2
accent
#49EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7618

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

Preview Lab → · Contrast checker → · Palette generator →

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