#7D8E13#7D8E13

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

Color values

HEX#7D8E13
RGBrgb(125, 142, 19)
HSLhsl(68, 76%, 32%)
HSVhsv(68, 87%, 56%)
CMYKcmyk(12%, 0%, 86.6%, 44.3%)
CIE-LABlab(55.84, -21.21, 56.07)
CIE-LCHlch(55.84, 59.95, 110.72°)
OKLaboklab(61.21% -0.0644 0.1209)
OKLCHoklch(61.21% 0.137 118)
XYZxyz(18.2485, 23.7532, 4.2395)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E13 #24138E
analogous
#8E6213 #7D8E13 #3F8E13
triadic
#7D8E13 #137D8E #8E137D
tetradic
#7D8E13 #138E62 #24138E #8E133F
square
#7D8E13 #138E62 #24138E #8E133F
split-complementary
#7D8E13 #133F8E #62138E
monochromatic
#1E2205 #4D580C #7D8E13 #ADC41A #CCE437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8E13#FFFFFF#000000##000000
##7D8E131.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)
#968621
Tritanopia (blue-blind)
#858679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e13;
/* rgb */ color: rgb(125, 142, 19);
/* oklch */ color: oklch(61.2% 0.137 118.0);
Tailwind
colors: {
  custom: {
    50: '#a6af60',
    500: '#7d8e13',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e13;
$custom-light: #a6af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e13",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 68.293,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.137,
    "h": 118
  },
  "luminance": 0.23753
}

Semantic roles & 50–950 ramp

primary
#7D8E13
secondary
#4D3BC2
accent
#35F34F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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