#7D8E11#7D8E11

#7D8E11 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.2% C 0.138 H 118.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7D8E11
RGBrgb(125, 142, 17)
HSLhsl(68, 79%, 31%)
HSVhsv(68, 88%, 56%)
CMYKcmyk(12%, 0%, 88%, 44.3%)
CIE-LABlab(55.83, -21.27, 56.53)
CIE-LCHlch(55.83, 60.39, 110.62°)
OKLaboklab(61.2% -0.0647 0.1216)
OKLCHoklch(61.2% 0.138 118)
XYZxyz(18.2321, 23.7466, 4.1533)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E11 #22118E
analogous
#8E6011 #7D8E11 #3E8E11
triadic
#7D8E11 #117D8E #8E117D
tetradic
#7D8E11 #118E60 #22118E #8E113E
square
#7D8E11 #118E60 #22118E #8E113E
split-complementary
#7D8E11 #113E8E #60118E
monochromatic
#1D2104 #4D570A #7D8E11 #ADC518 #CEE733

Accessibility & contrast

On white

3.65
#7D8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#7D8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E11
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E11#FFFFFF#000000##000000
##7D8E111.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#858679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e11;
/* rgb */ color: rgb(125, 142, 17);
/* oklch */ color: oklch(61.2% 0.138 118.0);
Tailwind
colors: {
  custom: {
    50: '#a6af5f',
    500: '#7d8e11',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e11;
$custom-light: #a6af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e11",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 68.16,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.61201,
    "c": 0.13771,
    "h": 118
  },
  "luminance": 0.23746
}

Semantic roles & 50–950 ramp

primary
#7D8E11
secondary
#4B38C2
accent
#33F54D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7D8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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