#7C8B26#7C8B26

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

Color values

HEX#7C8B26
RGBrgb(124, 139, 38)
HSLhsl(69, 57%, 35%)
HSVhsv(69, 73%, 55%)
CMYKcmyk(10.8%, 0%, 72.7%, 45.5%)
CIE-LABlab(54.96, -19.29, 49.28)
CIE-LCHlch(54.96, 52.92, 111.37°)
OKLaboklab(60.51% -0.0576 0.1099)
OKLCHoklch(60.51% 0.124 117.6)
XYZxyz(17.8950, 22.8905, 5.3089)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B26 #35268B
analogous
#8B6826 #7C8B26 #4A8B26
triadic
#7C8B26 #267C8B #8B267C
tetradic
#7C8B26 #268B68 #35268B #8B264A
square
#7C8B26 #268B68 #35268B #8B264A
split-complementary
#7C8B26 #264A8B #68268B
monochromatic
#262B0C #515B19 #7C8B26 #A7BB33 #C0D25A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8B26#FFFFFF#000000##000000
##7C8B261.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)
#958314
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#848377
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8b26;
/* rgb */ color: rgb(124, 139, 38);
/* oklch */ color: oklch(60.5% 0.124 117.6);
Tailwind
colors: {
  custom: {
    50: '#a5ac67',
    500: '#7c8b26',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b26;
$custom-light: #a5ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b26",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 68.911,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.12403,
    "h": 117.6
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#7C8B26
secondary
#6556B7
accent
#47E05E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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