#7D7B1E#7D7B1E

#7D7B1E is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.111 H 108.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D7B1E
RGBrgb(125, 123, 30)
HSLhsl(59, 61%, 30%)
HSVhsv(59, 76%, 49%)
CMYKcmyk(0%, 1.6%, 76%, 51%)
CIE-LABlab(50.24, -10.74, 47.77)
CIE-LCHlch(50.24, 48.96, 102.67°)
OKLaboklab(56.74% -0.0346 0.1052)
OKLCHoklch(56.74% 0.111 108.2)
XYZxyz(15.7754, 18.6201, 3.9911)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B1E #1E207D
analogous
#7D4B1E #7D7B1E #4F7D1E
triadic
#7D7B1E #1E7D7B #7B1E7D
tetradic
#7D7B1E #1E7D4B #1E207D #7D1E4F
square
#7D7B1E #1E7D4B #1E207D #7D1E4F
split-complementary
#7D7B1E #1E4F7D #4B1E7D
monochromatic
#1A1A06 #4C4A12 #7D7B1E #AEAC2A #D2CF43

Accessibility & contrast

On white

4.45
#7D7B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7D7B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7B1E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7B1E#FFFFFF#000000##000000
##7D7B1E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#867369
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7b1e;
/* rgb */ color: rgb(125, 123, 30);
/* oklch */ color: oklch(56.7% 0.111 108.2);
Tailwind
colors: {
  custom: {
    50: '#a6a062',
    500: '#7d7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b1e;
$custom-light: #a6a062;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b1e",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 58.737,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56735,
    "c": 0.11072,
    "h": 108.2
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#7D7B1E
secondary
#4649B0
accent
#47E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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