#7F9022#7F9022

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

Color values

HEX#7F9022
RGBrgb(127, 144, 34)
HSLhsl(69, 62%, 35%)
HSVhsv(69, 76%, 56%)
CMYKcmyk(11.8%, 0%, 76.4%, 43.5%)
CIE-LABlab(56.66, -20.75, 52.46)
CIE-LCHlch(56.66, 56.41, 111.58°)
OKLaboklab(61.93% -0.0622 0.1158)
OKLCHoklch(61.93% 0.131 118.2)
XYZxyz(19.0148, 24.5742, 5.2547)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9022 #332290
analogous
#906A22 #7F9022 #489022
triadic
#7F9022 #227F90 #90227F
tetradic
#7F9022 #22906A #332290 #902248
square
#7F9022 #22906A #332290 #902248
split-complementary
#7F9022 #224890 #6A2290
monochromatic
#282D0B #535E16 #7F9022 #ABC22E #C3D755

Accessibility & contrast

On white

3.55
#7F9022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9022#FFFFFF#000000##000000
##7F90221.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#87887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7f9022;
/* rgb */ color: rgb(127, 144, 34);
/* oklch */ color: oklch(61.9% 0.131 118.2);
Tailwind
colors: {
  custom: {
    50: '#a7b066',
    500: '#7f9022',
    950: '#000000',
  },
}
SCSS
$custom: #7f9022;
$custom-light: #a7b066;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9022",
  "rgb": {
    "r": 127,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 69.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.1314,
    "h": 118.2
  },
  "luminance": 0.24574
}

Semantic roles & 50–950 ramp

primary
#7F9022
secondary
#6353BB
accent
#43E55C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F9022

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

Preview Lab → · Contrast checker → · Palette generator →

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