#7F9019#7F9019

#7F9019 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.136 H 118.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7F9019
RGBrgb(127, 144, 25)
HSLhsl(69, 70%, 33%)
HSVhsv(69, 83%, 56%)
CMYKcmyk(11.8%, 0%, 82.6%, 43.5%)
CIE-LABlab(56.61, -21.14, 55.25)
CIE-LCHlch(56.61, 59.15, 110.94°)
OKLaboklab(61.88% -0.064 0.1201)
OKLCHoklch(61.88% 0.136 118)
XYZxyz(18.9016, 24.5289, 4.6583)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9019 #2A1990
analogous
#906519 #7F9019 #449019
triadic
#7F9019 #197F90 #90197F
tetradic
#7F9019 #199065 #2A1990 #901944
square
#7F9019 #199065 #2A1990 #901944
split-complementary
#7F9019 #194490 #651990
monochromatic
#232807 #515C10 #7F9019 #ADC422 #C9DF45

Accessibility & contrast

On white

3.56
#7F9019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7F9019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9019
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9019#FFFFFF#000000##000000
##7F90191.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#87887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7f9019;
/* rgb */ color: rgb(127, 144, 25);
/* oklch */ color: oklch(61.9% 0.136 118.0);
Tailwind
colors: {
  custom: {
    50: '#a8b062',
    500: '#7f9019',
    950: '#000000',
  },
}
SCSS
$custom: #7f9019;
$custom-light: #a8b062;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9019",
  "rgb": {
    "r": 127,
    "g": 144,
    "b": 25
  },
  "hsl": {
    "h": 68.571,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.13605,
    "h": 118
  },
  "luminance": 0.24529
}

Semantic roles & 50–950 ramp

primary
#7F9019
secondary
#5745C0
accent
#3BED54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F9019

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

Preview Lab → · Contrast checker → · Palette generator →

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