#7D8E27#7D8E27

#7D8E27 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.3% C 0.127 H 118.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7D8E27
RGBrgb(125, 142, 39)
HSLhsl(70, 57%, 35%)
HSVhsv(70, 73%, 56%)
CMYKcmyk(12%, 0%, 72.5%, 44.3%)
CIE-LABlab(55.94, -20.34, 49.89)
CIE-LCHlch(55.94, 53.87, 112.18°)
OKLaboklab(61.32% -0.0604 0.1113)
OKLCHoklch(61.32% 0.127 118.5)
XYZxyz(18.4970, 23.8526, 5.5486)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E27 #38278E
analogous
#8E6B27 #7D8E27 #498E27
triadic
#7D8E27 #277D8E #8E277D
tetradic
#7D8E27 #278E6B #38278E #8E2749
square
#7D8E27 #278E6B #38278E #8E2749
split-complementary
#7D8E27 #27498E #6B278E
monochromatic
#282E0D #535E1A #7D8E27 #A7BE34 #BFD25D

Accessibility & contrast

On white

3.64
#7D8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7D8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E27
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E27#FFFFFF#000000##000000
##7D8E271.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988615
Deuteranopia (green-blind)
#96862F
Tritanopia (blue-blind)
#85867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e27;
/* rgb */ color: rgb(125, 142, 39);
/* oklch */ color: oklch(61.3% 0.127 118.5);
Tailwind
colors: {
  custom: {
    50: '#a6af68',
    500: '#7d8e27',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e27;
$custom-light: #a6af68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e27",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 69.903,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.12664,
    "h": 118.5
  },
  "luminance": 0.23852
}

Semantic roles & 50–950 ramp

primary
#7D8E27
secondary
#6959B8
accent
#48E061
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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