#7D7D1E#7D7D1E

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

Color values

HEX#7D7D1E
RGBrgb(125, 125, 30)
HSLhsl(60, 61%, 30%)
HSVhsv(60, 76%, 49%)
CMYKcmyk(0%, 0%, 76%, 51%)
CIE-LABlab(50.83, -11.83, 48.33)
CIE-LCHlch(50.83, 49.75, 103.75°)
OKLaboklab(57.21% -0.0377 0.1064)
OKLCHoklch(57.21% 0.113 109.5)
XYZxyz(16.0260, 19.1214, 4.0747)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D1E #1E1E7D
analogous
#7D4D1E #7D7D1E #4D7D1E
triadic
#7D7D1E #1E7D7D #7D1E7D
tetradic
#7D7D1E #1E7D4D #1E1E7D #7D1E4D
square
#7D7D1E #1E7D4D #1E1E7D #7D1E4D
split-complementary
#7D7D1E #1E4D7D #4D1E7D
monochromatic
#1A1A06 #4C4C12 #7D7D1E #AEAE2A #D2D243

Accessibility & contrast

On white

4.35
#7D7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7D1E#FFFFFF#000000##000000
##7D7D1E1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88770A
Deuteranopia (green-blind)
#897A26
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d1e;
/* rgb */ color: rgb(125, 125, 30);
/* oklch */ color: oklch(57.2% 0.113 109.5);
Tailwind
colors: {
  custom: {
    50: '#a6a262',
    500: '#7d7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d1e;
$custom-light: #a6a262;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d1e",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57205,
    "c": 0.11283,
    "h": 109.5
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#7D7D1E
secondary
#4646B0
accent
#43E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #7D7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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