#7D8E1E#7D8E1E

#7D8E1E is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.132 H 118.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D8E1E
RGBrgb(125, 142, 30)
HSLhsl(69, 65%, 34%)
HSVhsv(69, 79%, 56%)
CMYKcmyk(12%, 0%, 78.9%, 44.3%)
CIE-LABlab(55.89, -20.80, 53.03)
CIE-LCHlch(55.89, 56.96, 111.42°)
OKLaboklab(61.26% -0.0625 0.1163)
OKLCHoklch(61.26% 0.132 118.2)
XYZxyz(18.3652, 23.7999, 4.8544)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E1E #2F1E8E
analogous
#8E671E #7D8E1E #458E1E
triadic
#7D8E1E #1E7D8E #8E1E7D
tetradic
#7D8E1E #1E8E67 #2F1E8E #8E1E45
square
#7D8E1E #1E8E67 #2F1E8E #8E1E45
split-complementary
#7D8E1E #1E458E #671E8E
monochromatic
#242909 #515B13 #7D8E1E #A9C129 #C4D94D

Accessibility & contrast

On white

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

On black

5.76
#7D8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E1E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E1E#FFFFFF#000000##000000
##7D8E1E1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8e1e;
/* rgb */ color: rgb(125, 142, 30);
/* oklch */ color: oklch(61.3% 0.132 118.2);
Tailwind
colors: {
  custom: {
    50: '#a6af64',
    500: '#7d8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e1e;
$custom-light: #a6af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e1e",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 69.107,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.13205,
    "h": 118.2
  },
  "luminance": 0.238
}

Semantic roles & 50–950 ramp

primary
#7D8E1E
secondary
#5D4CBC
accent
#40E859
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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