#7C8D26#7C8D26

#7C8D26 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.0% C 0.126 H 118.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7C8D26
RGBrgb(124, 141, 38)
HSLhsl(70, 58%, 35%)
HSVhsv(70, 73%, 55%)
CMYKcmyk(12.1%, 0%, 73%, 44.7%)
CIE-LABlab(55.56, -20.32, 49.87)
CIE-LCHlch(55.56, 53.85, 112.17°)
OKLaboklab(60.99% -0.0604 0.1111)
OKLCHoklch(60.99% 0.126 118.5)
XYZxyz(18.1873, 23.4749, 5.4063)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D26 #37268D
analogous
#8D6B26 #7C8D26 #488D26
triadic
#7C8D26 #267C8D #8D267C
tetradic
#7C8D26 #268D6B #37268D #8D2648
square
#7C8D26 #268D6B #37268D #8D2648
split-complementary
#7C8D26 #26488D #6B268D
monochromatic
#272D0C #525D19 #7C8D26 #A6BD33 #BFD35B

Accessibility & contrast

On white

3.69
#7C8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#7C8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D26
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D26#FFFFFF#000000##000000
##7C8D261.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968514
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#848579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d26;
/* rgb */ color: rgb(124, 141, 38);
/* oklch */ color: oklch(61.0% 0.126 118.5);
Tailwind
colors: {
  custom: {
    50: '#a5ae68',
    500: '#7c8d26',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d26;
$custom-light: #a5ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d26",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 69.903,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.12647,
    "h": 118.5
  },
  "luminance": 0.23475
}

Semantic roles & 50–950 ramp

primary
#7C8D26
secondary
#6757B8
accent
#47E160
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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