#7D7915#7D7915

#7D7915 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.114 H 107.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7D7915
RGBrgb(125, 121, 21)
HSLhsl(58, 71%, 29%)
HSVhsv(58, 83%, 49%)
CMYKcmyk(0%, 3.2%, 83.2%, 51%)
CIE-LABlab(49.60, -10.01, 50.20)
CIE-LCHlch(49.60, 51.19, 101.28°)
OKLaboklab(56.21% -0.0334 0.1086)
OKLCHoklch(56.21% 0.114 107.1)
XYZxyz(15.4308, 18.0894, 3.3881)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7915 #15197D
analogous
#7D4515 #7D7915 #4D7D15
triadic
#7D7915 #157D79 #79157D
tetradic
#7D7915 #157D45 #15197D #7D154D
square
#7D7915 #157D45 #15197D #7D154D
split-complementary
#7D7915 #154D7D #45157D
monochromatic
#1A1904 #49460C #7D7915 #B1AC1E #DCD630

Accessibility & contrast

On white

4.55
#7D7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7D7915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7915
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7915#FFFFFF#000000##000000
##7D79151.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#877067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7915;
/* rgb */ color: rgb(125, 121, 21);
/* oklch */ color: oklch(56.2% 0.114 107.1);
Tailwind
colors: {
  custom: {
    50: '#a69f5d',
    500: '#7d7915',
    950: '#000000',
  },
}
SCSS
$custom: #7d7915;
$custom-light: #a69f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7915",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 57.692,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56213,
    "c": 0.11361,
    "h": 107.1
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#7D7915
secondary
#3C40B2
accent
#41EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7915

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

Preview Lab → · Contrast checker → · Palette generator →

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