#7F9124#7F9124

#7F9124 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.2% C 0.131 H 118.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7F9124
RGBrgb(127, 145, 36)
HSLhsl(70, 60%, 35%)
HSVhsv(70, 75%, 57%)
CMYKcmyk(12.4%, 0%, 75.2%, 43.1%)
CIE-LABlab(56.97, -21.16, 52.05)
CIE-LCHlch(56.97, 56.18, 112.12°)
OKLaboklab(62.18% -0.0631 0.1153)
OKLCHoklch(62.18% 0.131 118.7)
XYZxyz(19.1966, 24.8903, 5.4618)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9124 #362491
analogous
#916C24 #7F9124 #499124
triadic
#7F9124 #247F91 #91247F
tetradic
#7F9124 #24916C #362491 #912449
square
#7F9124 #24916C #362491 #912449
split-complementary
#7F9124 #244991 #6C2491
monochromatic
#292F0C #546018 #7F9124 #AAC230 #C1D659

Accessibility & contrast

On white

3.51
#7F9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7F9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9124
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9124#FFFFFF#000000##000000
##7F91241.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890D
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#87897C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f9124;
/* rgb */ color: rgb(127, 145, 36);
/* oklch */ color: oklch(62.2% 0.131 118.7);
Tailwind
colors: {
  custom: {
    50: '#a7b167',
    500: '#7f9124',
    950: '#000000',
  },
}
SCSS
$custom: #7f9124;
$custom-light: #a7b167;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9124",
  "rgb": {
    "r": 127,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 69.908,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6218,
    "c": 0.13141,
    "h": 118.7
  },
  "luminance": 0.2489
}

Semantic roles & 50–950 ramp

primary
#7F9124
secondary
#6756BA
accent
#44E35F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F9124

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

Preview Lab → · Contrast checker → · Palette generator →

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