#7D7F15#7D7F15

#7D7F15 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.120 H 110.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D7F15
RGBrgb(125, 127, 21)
HSLhsl(61, 72%, 29%)
HSVhsv(61, 83%, 50%)
CMYKcmyk(1.6%, 0%, 83.5%, 50.2%)
CIE-LABlab(51.37, -13.28, 51.74)
CIE-LCHlch(51.37, 53.42, 104.40°)
OKLaboklab(57.63% -0.0425 0.1119)
OKLCHoklch(57.63% 0.12 110.8)
XYZxyz(16.1828, 19.5933, 3.6388)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7F15 #17157F
analogous
#7F4C15 #7D7F15 #487F15
triadic
#7D7F15 #157D7F #7F157D
tetradic
#7D7F15 #157F4C #17157F #7F1548
square
#7D7F15 #157F4C #17157F #7F1548
split-complementary
#7D7F15 #15487F #4C157F
monochromatic
#1A1A04 #494A0C #7D7F15 #B1B41E #DADD31

Accessibility & contrast

On white

4.27
#7D7F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7D7F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7F15
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7F15#FFFFFF#000000##000000
##7D7F151.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7f15;
/* rgb */ color: rgb(125, 127, 21);
/* oklch */ color: oklch(57.6% 0.120 110.8);
Tailwind
colors: {
  custom: {
    50: '#a6a35e',
    500: '#7d7f15',
    950: '#000000',
  },
}
SCSS
$custom: #7d7f15;
$custom-light: #a6a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7f15",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 61.132,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.11969,
    "h": 110.8
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#7D7F15
secondary
#3E3CB4
accent
#39EE3D
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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