#7D7D18#7D7D18

#7D7D18 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.116 H 109.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D7D18
RGBrgb(125, 125, 24)
HSLhsl(60, 68%, 29%)
HSVhsv(60, 81%, 49%)
CMYKcmyk(0%, 0%, 80.8%, 51%)
CIE-LABlab(50.80, -12.09, 50.33)
CIE-LCHlch(50.80, 51.77, 103.51°)
OKLaboklab(57.17% -0.0389 0.1095)
OKLCHoklch(57.17% 0.116 109.6)
XYZxyz(15.9565, 19.0936, 3.7089)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D18 #18187D
analogous
#7D4B18 #7D7D18 #4B7D18
triadic
#7D7D18 #187D7D #7D187D
tetradic
#7D7D18 #187D4B #18187D #7D184B
square
#7D7D18 #187D4B #18187D #7D184B
split-complementary
#7D7D18 #184B7D #4B187D
monochromatic
#1A1A05 #4A4A0E #7D7D18 #B0B022 #D9D937

Accessibility & contrast

On white

4.36
#7D7D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D7D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D18
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D18#FFFFFF#000000##000000
##7D7D181.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d18;
/* rgb */ color: rgb(125, 125, 24);
/* oklch */ color: oklch(57.2% 0.116 109.6);
Tailwind
colors: {
  custom: {
    50: '#a6a25f',
    500: '#7d7d18',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d18;
$custom-light: #a6a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d18",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.11617,
    "h": 109.6
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#7D7D18
secondary
#3F3FB2
accent
#3DEB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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