#7D8A1E#7D8A1E

#7D8A1E is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.3% C 0.127 H 116.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7D8A1E
RGBrgb(125, 138, 30)
HSLhsl(67, 64%, 33%)
HSVhsv(67, 78%, 54%)
CMYKcmyk(9.4%, 0%, 78.3%, 45.9%)
CIE-LABlab(54.69, -18.74, 51.92)
CIE-LCHlch(54.69, 55.20, 109.84°)
OKLaboklab(60.3% -0.0568 0.114)
OKLCHoklch(60.3% 0.127 116.5)
XYZxyz(17.7807, 22.6309, 4.6596)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A1E #2B1E8A
analogous
#8A611E #7D8A1E #478A1E
triadic
#7D8A1E #1E7D8A #8A1E7D
tetradic
#7D8A1E #1E8A61 #2B1E8A #8A1E47
square
#7D8A1E #1E8A61 #2B1E8A #8A1E47
split-complementary
#7D8A1E #1E478A #611E8A
monochromatic
#222508 #4F5813 #7D8A1E #ABBC29 #C7D84B

Accessibility & contrast

On white

3.80
#7D8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7D8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A1E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A1E#FFFFFF#000000##000000
##7D8A1E1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948202
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#858276
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a1e;
/* rgb */ color: rgb(125, 138, 30);
/* oklch */ color: oklch(60.3% 0.127 116.5);
Tailwind
colors: {
  custom: {
    50: '#a6ac63',
    500: '#7d8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a1e;
$custom-light: #a6ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a1e",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 67.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.12736,
    "h": 116.5
  },
  "luminance": 0.22631
}

Semantic roles & 50–950 ramp

primary
#7D8A1E
secondary
#574ABA
accent
#41E755
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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