#7F9219#7F9219

#7F9219 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.4% C 0.138 H 118.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7F9219
RGBrgb(127, 146, 25)
HSLhsl(69, 71%, 34%)
HSVhsv(69, 83%, 57%)
CMYKcmyk(13%, 0%, 82.9%, 42.7%)
CIE-LABlab(57.21, -22.16, 55.77)
CIE-LCHlch(57.21, 60.01, 111.67°)
OKLaboklab(62.36% -0.0667 0.1212)
OKLCHoklch(62.36% 0.138 118.8)
XYZxyz(19.2072, 25.1401, 4.7602)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9219 #2C1992
analogous
#926819 #7F9219 #439219
triadic
#7F9219 #197F92 #92197F
tetradic
#7F9219 #199268 #2C1992 #921943
square
#7F9219 #199268 #2C1992 #921943
split-complementary
#7F9219 #194392 #681992
monochromatic
#242907 #525E10 #7F9219 #ACC622 #C7DF46

Accessibility & contrast

On white

3.48
#7F9219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7F9219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9219
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9219#FFFFFF#000000##000000
##7F92191.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#878A7C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f9219;
/* rgb */ color: rgb(127, 146, 25);
/* oklch */ color: oklch(62.4% 0.138 118.8);
Tailwind
colors: {
  custom: {
    50: '#a8b163',
    500: '#7f9219',
    950: '#000000',
  },
}
SCSS
$custom: #7f9219;
$custom-light: #a8b163;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9219",
  "rgb": {
    "r": 127,
    "g": 146,
    "b": 25
  },
  "hsl": {
    "h": 69.421,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62359,
    "c": 0.13835,
    "h": 118.8
  },
  "luminance": 0.2514
}

Semantic roles & 50–950 ramp

primary
#7F9219
secondary
#5946C1
accent
#3AEE56
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F9219

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

Preview Lab → · Contrast checker → · Palette generator →

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