#7E8D25#7E8D25

#7E8D25 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.1% C 0.126 H 117.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7E8D25
RGBrgb(126, 141, 37)
HSLhsl(69, 58%, 35%)
HSVhsv(69, 74%, 55%)
CMYKcmyk(10.6%, 0%, 73.8%, 44.7%)
CIE-LABlab(55.70, -19.50, 50.44)
CIE-LCHlch(55.70, 54.07, 111.13°)
OKLaboklab(61.15% -0.0583 0.1121)
OKLCHoklch(61.15% 0.126 117.5)
XYZxyz(18.4634, 23.6191, 5.3362)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8D25 #34258D
analogous
#8D6825 #7E8D25 #4A8D25
triadic
#7E8D25 #257E8D #8D257E
tetradic
#7E8D25 #258D68 #34258D #8D254A
square
#7E8D25 #258D68 #34258D #8D254A
split-complementary
#7E8D25 #254A8D #68258D
monochromatic
#272C0C #535D18 #7E8D25 #A9BD32 #C2D359

Accessibility & contrast

On white

3.67
#7E8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7E8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8D25
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8D25#FFFFFF#000000##000000
##7E8D251.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8d25;
/* rgb */ color: rgb(126, 141, 37);
/* oklch */ color: oklch(61.1% 0.126 117.5);
Tailwind
colors: {
  custom: {
    50: '#a6ae67',
    500: '#7e8d25',
    950: '#000000',
  },
}
SCSS
$custom: #7e8d25;
$custom-light: #a6ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8d25",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 68.654,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61147,
    "c": 0.12636,
    "h": 117.5
  },
  "luminance": 0.23619
}

Semantic roles & 50–950 ramp

primary
#7E8D25
secondary
#6456B8
accent
#46E25D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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