#7D7F19#7D7F19

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

Color values

HEX#7D7F19
RGBrgb(125, 127, 25)
HSLhsl(61, 67%, 30%)
HSVhsv(61, 80%, 50%)
CMYKcmyk(1.6%, 0%, 80.3%, 50.2%)
CIE-LABlab(51.39, -13.13, 50.55)
CIE-LCHlch(51.39, 52.23, 104.56°)
OKLaboklab(57.65% -0.0417 0.1101)
OKLCHoklch(57.65% 0.118 110.8)
XYZxyz(16.2229, 19.6094, 3.8499)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7F19 #1B197F
analogous
#7F4E19 #7D7F19 #4A7F19
triadic
#7D7F19 #197D7F #7F197D
tetradic
#7D7F19 #197F4E #1B197F #7F194A
square
#7D7F19 #197F4E #1B197F #7F194A
split-complementary
#7D7F19 #194A7F #4E197F
monochromatic
#191A05 #4B4C0F #7D7F19 #AFB223 #D5D83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7F19#FFFFFF#000000##000000
##7D7F191.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)
#8A7C22
Tritanopia (blue-blind)
#86776C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7f19;
/* rgb */ color: rgb(125, 127, 25);
/* oklch */ color: oklch(57.6% 0.118 110.8);
Tailwind
colors: {
  custom: {
    50: '#a6a360',
    500: '#7d7f19',
    950: '#000000',
  },
}
SCSS
$custom: #7d7f19;
$custom-light: #a6a360;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7f19",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 61.176,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.11776,
    "h": 110.8
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#7D7F19
secondary
#4341B3
accent
#3EEA41
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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