#7D8C13#7D8C13

#7D8C13 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.7% C 0.135 H 117.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7D8C13
RGBrgb(125, 140, 19)
HSLhsl(67, 76%, 31%)
HSVhsv(67, 86%, 55%)
CMYKcmyk(10.7%, 0%, 86.4%, 45.1%)
CIE-LABlab(55.24, -20.19, 55.57)
CIE-LCHlch(55.24, 59.12, 109.96°)
OKLaboklab(60.73% -0.0616 0.1198)
OKLCHoklch(60.73% 0.135 117.2)
XYZxyz(17.9536, 23.1634, 4.1412)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8C13 #22138C
analogous
#8C5E13 #7D8C13 #408C13
triadic
#7D8C13 #137D8C #8C137D
tetradic
#7D8C13 #138C5E #22138C #8C1340
square
#7D8C13 #138C5E #22138C #8C1340
split-complementary
#7D8C13 #13408C #5E138C
monochromatic
#1D2004 #4D560C #7D8C13 #ADC21A #CEE436

Accessibility & contrast

On white

3.73
#7D8C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7D8C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8C13
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8C13#FFFFFF#000000##000000
##7D8C131.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#858477
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8c13;
/* rgb */ color: rgb(125, 140, 19);
/* oklch */ color: oklch(60.7% 0.135 117.2);
Tailwind
colors: {
  custom: {
    50: '#a6ad5f',
    500: '#7d8c13',
    950: '#000000',
  },
}
SCSS
$custom: #7d8c13;
$custom-light: #a6ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8c13",
  "rgb": {
    "r": 125,
    "g": 140,
    "b": 19
  },
  "hsl": {
    "h": 67.438,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.13474,
    "h": 117.2
  },
  "luminance": 0.23163
}

Semantic roles & 50–950 ramp

primary
#7D8C13
secondary
#4B3BC0
accent
#35F34D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D8C13

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

Preview Lab → · Contrast checker → · Palette generator →

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