#7D7518#7D7518

#7D7518 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.108 H 104.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D7518
RGBrgb(125, 117, 24)
HSLhsl(55, 68%, 29%)
HSVhsv(55, 81%, 49%)
CMYKcmyk(0%, 6.4%, 80.8%, 51%)
CIE-LABlab(48.45, -7.68, 48.23)
CIE-LCHlch(48.45, 48.84, 99.05°)
OKLaboklab(55.3% -0.0266 0.105)
OKLCHoklch(55.3% 0.108 104.2)
XYZxyz(14.9843, 17.1491, 3.3848)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7518 #18207D
analogous
#7D4318 #7D7518 #537D18
triadic
#7D7518 #187D75 #75187D
tetradic
#7D7518 #187D43 #18207D #7D1853
square
#7D7518 #187D43 #18207D #7D1853
split-complementary
#7D7518 #18537D #43187D
monochromatic
#1A1805 #4A450E #7D7518 #B0A522 #D9CC37

Accessibility & contrast

On white

4.74
#7D7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7D7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7518
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7518#FFFFFF#000000##FFFFFF
##7D75181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#876C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d7518;
/* rgb */ color: rgb(125, 117, 24);
/* oklch */ color: oklch(55.3% 0.108 104.2);
Tailwind
colors: {
  custom: {
    50: '#a69c5e',
    500: '#7d7518',
    950: '#000000',
  },
}
SCSS
$custom: #7d7518;
$custom-light: #a69c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7518",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 55.248,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.10827,
    "h": 104.2
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#7D7518
secondary
#3F48B2
accent
#4BEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7518

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

Preview Lab → · Contrast checker → · Palette generator →

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