#7D8B19#7D8B19

#7D8B19 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.5% C 0.131 H 116.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7D8B19
RGBrgb(125, 139, 25)
HSLhsl(67, 70%, 32%)
HSVhsv(67, 82%, 55%)
CMYKcmyk(10.1%, 0%, 82%, 45.5%)
CIE-LABlab(54.96, -19.46, 53.73)
CIE-LCHlch(54.96, 57.15, 109.91°)
OKLaboklab(60.51% -0.0592 0.1169)
OKLCHoklch(60.51% 0.131 116.9)
XYZxyz(17.8660, 22.8956, 4.3976)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8B19 #27198B
analogous
#8B6019 #7D8B19 #448B19
triadic
#7D8B19 #197D8B #8B197D
tetradic
#7D8B19 #198B60 #27198B #8B1944
square
#7D8B19 #198B60 #27198B #8B1944
split-complementary
#7D8B19 #19448B #60198B
monochromatic
#202306 #4E5710 #7D8B19 #ACBF22 #CADD41

Accessibility & contrast

On white

3.76
#7D8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7D8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8B19
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8B19#FFFFFF#000000##000000
##7D8B191.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#858376
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8b19;
/* rgb */ color: rgb(125, 139, 25);
/* oklch */ color: oklch(60.5% 0.131 116.9);
Tailwind
colors: {
  custom: {
    50: '#a6ac62',
    500: '#7d8b19',
    950: '#000000',
  },
}
SCSS
$custom: #7d8b19;
$custom-light: #a6ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8b19",
  "rgb": {
    "r": 125,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 67.368,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.13107,
    "h": 116.9
  },
  "luminance": 0.22895
}

Semantic roles & 50–950 ramp

primary
#7D8B19
secondary
#5142BE
accent
#3BEC51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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