#799521#799521

#799521 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.7% C 0.141 H 122.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#799521
RGBrgb(121, 149, 33)
HSLhsl(74, 64%, 36%)
HSVhsv(74, 78%, 58%)
CMYKcmyk(18.8%, 0%, 77.9%, 41.6%)
CIE-LABlab(57.72, -25.89, 53.64)
CIE-LCHlch(57.72, 59.56, 115.77°)
OKLaboklab(62.67% -0.076 0.1183)
OKLCHoklch(62.67% 0.141 122.7)
XYZxyz(18.9074, 25.6696, 5.3972)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799521 #3D2195
analogous
#957721 #799521 #3F9521
triadic
#799521 #217995 #952179
tetradic
#799521 #219577 #3D2195 #95213F
square
#799521 #219577 #3D2195 #95213F
split-complementary
#799521 #213F95 #772195
monochromatic
#28310B #506316 #799521 #A2C72C #BADA57

Accessibility & contrast

On white

3.42
#799521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#799521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799521
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799521#FFFFFF#000000##000000
##7995211.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B03
Deuteranopia (green-blind)
#9A8B2C
Tritanopia (blue-blind)
#808D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #799521;
/* rgb */ color: rgb(121, 149, 33);
/* oklch */ color: oklch(62.7% 0.141 122.7);
Tailwind
colors: {
  custom: {
    50: '#a3b466',
    500: '#799521',
    950: '#000000',
  },
}
SCSS
$custom: #799521;
$custom-light: #a3b466;
$custom-dark: #000000;
JSON
{
  "hex": "#799521",
  "rgb": {
    "r": 121,
    "g": 149,
    "b": 33
  },
  "hsl": {
    "h": 74.483,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62673,
    "c": 0.14059,
    "h": 122.7
  },
  "luminance": 0.2567
}

Semantic roles & 50–950 ramp

primary
#799521
secondary
#6E54BE
accent
#41E769
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #799521

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

Preview Lab → · Contrast checker → · Palette generator →

#799521 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva