#7D8A26#7D8A26

#7D8A26 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.4% C 0.122 H 116.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7D8A26
RGBrgb(125, 138, 38)
HSLhsl(68, 57%, 35%)
HSVhsv(68, 72%, 54%)
CMYKcmyk(9.4%, 0%, 72.5%, 45.9%)
CIE-LABlab(54.74, -18.33, 49.09)
CIE-LCHlch(54.74, 52.40, 110.47°)
OKLaboklab(60.35% -0.055 0.1094)
OKLCHoklch(60.35% 0.122 116.7)
XYZxyz(17.8962, 22.6771, 5.2677)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A26 #33268A
analogous
#8A6526 #7D8A26 #4B8A26
triadic
#7D8A26 #267D8A #8A267D
tetradic
#7D8A26 #268A65 #33268A #8A264B
square
#7D8A26 #268A65 #33268A #8A264B
split-complementary
#7D8A26 #264B8A #65268A
monochromatic
#262A0C #525A19 #7D8A26 #A8BA33 #C2D159

Accessibility & contrast

On white

3.79
#7D8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7D8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A26
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A26#FFFFFF#000000##000000
##7D8A261.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948315
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#858276
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a26;
/* rgb */ color: rgb(125, 138, 38);
/* oklch */ color: oklch(60.4% 0.122 116.7);
Tailwind
colors: {
  custom: {
    50: '#a5ac67',
    500: '#7d8a26',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a26;
$custom-light: #a5ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a26",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 67.8,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.12247,
    "h": 116.7
  },
  "luminance": 0.22677
}

Semantic roles & 50–950 ramp

primary
#7D8A26
secondary
#6256B6
accent
#48E05C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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