#7D8926#7D8926

#7D8926 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.121 H 116.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D8926
RGBrgb(125, 137, 38)
HSLhsl(67, 57%, 34%)
HSVhsv(67, 72%, 54%)
CMYKcmyk(8.8%, 0%, 72.3%, 46.3%)
CIE-LABlab(54.44, -17.81, 48.79)
CIE-LCHlch(54.44, 51.94, 110.05°)
OKLaboklab(60.11% -0.0535 0.1088)
OKLCHoklch(60.11% 0.121 116.2)
XYZxyz(17.7534, 22.3915, 5.2201)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8926 #322689
analogous
#896426 #7D8926 #4C8926
triadic
#7D8926 #267D89 #89267D
tetradic
#7D8926 #268964 #322689 #89264C
square
#7D8926 #268964 #322689 #89264C
split-complementary
#7D8926 #264C89 #642689
monochromatic
#26290B #515919 #7D8926 #A9B933 #C2D159

Accessibility & contrast

On white

3.83
#7D8926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7D8926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8926
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8926#FFFFFF#000000##000000
##7D89261.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938215
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#858176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d8926;
/* rgb */ color: rgb(125, 137, 38);
/* oklch */ color: oklch(60.1% 0.121 116.2);
Tailwind
colors: {
  custom: {
    50: '#a5ab67',
    500: '#7d8926',
    950: '#000000',
  },
}
SCSS
$custom: #7d8926;
$custom-light: #a5ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8926",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 67.273,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60113,
    "c": 0.12126,
    "h": 116.2
  },
  "luminance": 0.22391
}

Semantic roles & 50–950 ramp

primary
#7D8926
secondary
#6155B6
accent
#48E05A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8926

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

Preview Lab → · Contrast checker → · Palette generator →

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