#799528#799528

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

Color values

HEX#799528
RGBrgb(121, 149, 40)
HSLhsl(75, 58%, 37%)
HSVhsv(75, 73%, 58%)
CMYKcmyk(18.8%, 0%, 73.2%, 41.6%)
CIE-LABlab(57.76, -25.51, 51.20)
CIE-LCHlch(57.76, 57.21, 116.48°)
OKLaboklab(62.72% -0.0744 0.1143)
OKLCHoklch(62.72% 0.136 123)
XYZxyz(19.0158, 25.7129, 5.9684)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799528 #442895
analogous
#957B28 #799528 #439528
triadic
#799528 #287995 #952879
tetradic
#799528 #28957B #442895 #952843
square
#799528 #28957B #442895 #952843
split-complementary
#799528 #284395 #7B2895
monochromatic
#2B350E #52651B #799528 #A0C535 #B8D562

Accessibility & contrast

On white

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

On black

6.14
#799528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799528
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799528#FFFFFF#000000##000000
##7995281.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C14
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#7F8D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #799528;
/* rgb */ color: rgb(121, 149, 40);
/* oklch */ color: oklch(62.7% 0.136 123.0);
Tailwind
colors: {
  custom: {
    50: '#a3b46a',
    500: '#799528',
    950: '#000000',
  },
}
SCSS
$custom: #799528;
$custom-light: #a3b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#799528",
  "rgb": {
    "r": 121,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 75.413,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6272,
    "c": 0.1364,
    "h": 123
  },
  "luminance": 0.25713
}

Semantic roles & 50–950 ramp

primary
#799528
secondary
#765EBB
accent
#47E16E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799528

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

Preview Lab → · Contrast checker → · Palette generator →

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