#7D7B15#7D7B15

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

Color values

HEX#7D7B15
RGBrgb(125, 123, 21)
HSLhsl(59, 71%, 29%)
HSVhsv(59, 83%, 49%)
CMYKcmyk(0%, 1.6%, 83.2%, 51%)
CIE-LABlab(50.19, -11.11, 50.72)
CIE-LCHlch(50.19, 51.92, 102.36°)
OKLaboklab(56.68% -0.0364 0.1097)
OKLCHoklch(56.68% 0.116 108.4)
XYZxyz(15.6764, 18.5806, 3.4700)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B15 #15177D
analogous
#7D4715 #7D7B15 #4B7D15
triadic
#7D7B15 #157D7B #7B157D
tetradic
#7D7B15 #157D47 #15177D #7D154B
square
#7D7B15 #157D47 #15177D #7D154B
split-complementary
#7D7B15 #154B7D #47157D
monochromatic
#1A1A04 #49470C #7D7B15 #B1AF1E #DCD930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7B15#FFFFFF#000000##000000
##7D7B151.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)
#867600
Deuteranopia (green-blind)
#87791F
Tritanopia (blue-blind)
#877269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7b15;
/* rgb */ color: rgb(125, 123, 21);
/* oklch */ color: oklch(56.7% 0.116 108.4);
Tailwind
colors: {
  custom: {
    50: '#a6a05e',
    500: '#7d7b15',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b15;
$custom-light: #a6a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b15",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 58.846,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.11558,
    "h": 108.4
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#7D7B15
secondary
#3C3EB2
accent
#3DEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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