#7D7A1C#7D7A1C

#7D7A1C is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.111 H 107.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7A1C
RGBrgb(125, 122, 28)
HSLhsl(58, 63%, 30%)
HSVhsv(58, 78%, 49%)
CMYKcmyk(0%, 2.4%, 77.6%, 51%)
CIE-LABlab(49.93, -10.28, 48.21)
CIE-LCHlch(49.93, 49.29, 102.04°)
OKLaboklab(56.49% -0.0335 0.1057)
OKLCHoklch(56.49% 0.111 107.6)
XYZxyz(15.6272, 18.3634, 3.8197)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A1C #1C1F7D
analogous
#7D491C #7D7A1C #507D1C
triadic
#7D7A1C #1C7D7A #7A1C7D
tetradic
#7D7A1C #1C7D49 #1C1F7D #7D1C50
square
#7D7A1C #1C7D49 #1C1F7D #7D1C50
split-complementary
#7D7A1C #1C507D #491C7D
monochromatic
#191806 #4B4911 #7D7A1C #AFAB27 #D4CF3F

Accessibility & contrast

On white

4.49
#7D7A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7D7A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A1C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A1C#FFFFFF#000000##000000
##7D7A1C1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857507
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#877268
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a1c;
/* rgb */ color: rgb(125, 122, 28);
/* oklch */ color: oklch(56.5% 0.111 107.6);
Tailwind
colors: {
  custom: {
    50: '#a6a060',
    500: '#7d7a1c',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a1c;
$custom-light: #a6a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a1c",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 58.144,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.11091,
    "h": 107.6
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#7D7A1C
secondary
#4447B1
accent
#46E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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