#7D8E14#7D8E14

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

Color values

HEX#7D8E14
RGBrgb(125, 142, 20)
HSLhsl(68, 75%, 32%)
HSVhsv(68, 86%, 56%)
CMYKcmyk(12%, 0%, 85.9%, 44.3%)
CIE-LABlab(55.84, -21.18, 55.84)
CIE-LCHlch(55.84, 59.72, 110.77°)
OKLaboklab(61.21% -0.0643 0.1206)
OKLCHoklch(61.21% 0.137 118.1)
XYZxyz(18.2572, 23.7567, 4.2854)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E14 #25148E
analogous
#8E6214 #7D8E14 #408E14
triadic
#7D8E14 #147D8E #8E147D
tetradic
#7D8E14 #148E62 #25148E #8E1440
square
#7D8E14 #148E62 #25148E #8E1440
split-complementary
#7D8E14 #14408E #62148E
monochromatic
#1F2305 #4E580C #7D8E14 #ACC41C #CBE339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7d8e14;
/* rgb */ color: rgb(125, 142, 20);
/* oklch */ color: oklch(61.2% 0.137 118.1);
Tailwind
colors: {
  custom: {
    50: '#a6af60',
    500: '#7d8e14',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e14;
$custom-light: #a6af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e14",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 68.361,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61213,
    "c": 0.13662,
    "h": 118.1
  },
  "luminance": 0.23756
}

Semantic roles & 50–950 ramp

primary
#7D8E14
secondary
#4F3CC2
accent
#36F250
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8E14

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

Preview Lab → · Contrast checker → · Palette generator →

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