#7D7A15#7D7A15

#7D7A15 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.115 H 107.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7A15
RGBrgb(125, 122, 21)
HSLhsl(58, 71%, 29%)
HSVhsv(58, 83%, 49%)
CMYKcmyk(0%, 2.4%, 83.2%, 51%)
CIE-LABlab(49.90, -10.56, 50.46)
CIE-LCHlch(49.90, 51.55, 101.82°)
OKLaboklab(56.45% -0.0349 0.1091)
OKLCHoklch(56.45% 0.115 107.7)
XYZxyz(15.5530, 18.3337, 3.4288)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A15 #15187D
analogous
#7D4615 #7D7A15 #4C7D15
triadic
#7D7A15 #157D7A #7A157D
tetradic
#7D7A15 #157D46 #15187D #7D154C
square
#7D7A15 #157D46 #15187D #7D154C
split-complementary
#7D7A15 #154C7D #46157D
monochromatic
#1A1A04 #49470C #7D7A15 #B1AD1E #DCD730

Accessibility & contrast

On white

4.50
#7D7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7A15#FFFFFF#000000##000000
##7D7A151.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a15;
/* rgb */ color: rgb(125, 122, 21);
/* oklch */ color: oklch(56.4% 0.115 107.7);
Tailwind
colors: {
  custom: {
    50: '#a6a05d',
    500: '#7d7a15',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a15;
$custom-light: #a6a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a15",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 58.269,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.11459,
    "h": 107.7
  },
  "luminance": 0.18333
}

Semantic roles & 50–950 ramp

primary
#7D7A15
secondary
#3C3FB2
accent
#3FEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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