#7D8D2A#7D8D2A

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

Color values

HEX#7D8D2A
RGBrgb(125, 141, 42)
HSLhsl(70, 54%, 36%)
HSVhsv(70, 70%, 55%)
CMYKcmyk(11.3%, 0%, 70.2%, 44.7%)
CIE-LABlab(55.66, -19.64, 48.43)
CIE-LCHlch(55.66, 52.26, 112.08°)
OKLaboklab(61.1% -0.0582 0.1087)
OKLCHoklch(61.1% 0.123 118.2)
XYZxyz(18.4006, 23.5771, 5.7715)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D2A #3A2A8D
analogous
#8D6B2A #7D8D2A #4B8D2A
triadic
#7D8D2A #2A7D8D #8D2A7D
tetradic
#7D8D2A #2A8D6B #3A2A8D #8D2A4B
square
#7D8D2A #2A8D6B #3A2A8D #8D2A4B
split-complementary
#7D8D2A #2A4B8D #6B2A8D
monochromatic
#292F0E #535E1C #7D8D2A #A7BC38 #BED061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8D2A#FFFFFF#000000##000000
##7D8D2A1.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)
#96851B
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#858579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d8d2a;
/* rgb */ color: rgb(125, 141, 42);
/* oklch */ color: oklch(61.1% 0.123 118.2);
Tailwind
colors: {
  custom: {
    50: '#a5ae6a',
    500: '#7d8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d2a;
$custom-light: #a5ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d2a",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 69.697,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.12333,
    "h": 118.2
  },
  "luminance": 0.23577
}

Semantic roles & 50–950 ramp

primary
#7D8D2A
secondary
#6B5DB6
accent
#4ADD62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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