#7D7E19#7D7E19

#7D7E19 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.117 H 110.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D7E19
RGBrgb(125, 126, 25)
HSLhsl(61, 67%, 30%)
HSVhsv(61, 80%, 49%)
CMYKcmyk(0.8%, 0%, 80.2%, 50.6%)
CIE-LABlab(51.10, -12.59, 50.28)
CIE-LCHlch(51.10, 51.84, 104.06°)
OKLaboklab(57.41% -0.0402 0.1096)
OKLCHoklch(57.41% 0.117 110.2)
XYZxyz(16.0944, 19.3523, 3.8071)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E19 #1A197E
analogous
#7E4D19 #7D7E19 #4B7E19
triadic
#7D7E19 #197D7E #7E197D
tetradic
#7D7E19 #197E4D #1A197E #7E194B
square
#7D7E19 #197E4D #1A197E #7E194B
split-complementary
#7D7E19 #194B7E #4D197E
monochromatic
#191A05 #4A4B0F #7D7E19 #B0B123 #D6D83A

Accessibility & contrast

On white

4.31
#7D7E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7D7E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E19
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E19#FFFFFF#000000##000000
##7D7E191.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#86766B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e19;
/* rgb */ color: rgb(125, 126, 25);
/* oklch */ color: oklch(57.4% 0.117 110.2);
Tailwind
colors: {
  custom: {
    50: '#a6a360',
    500: '#7d7e19',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e19;
$custom-light: #a6a360;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e19",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 60.594,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.1167,
    "h": 110.2
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#7D7E19
secondary
#4241B2
accent
#3EEA40
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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