#799526#799526

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

Color values

HEX#799526
RGBrgb(121, 149, 38)
HSLhsl(75, 59%, 37%)
HSVhsv(75, 74%, 58%)
CMYKcmyk(18.8%, 0%, 74.5%, 41.6%)
CIE-LABlab(57.75, -25.63, 51.93)
CIE-LCHlch(57.75, 57.91, 116.27°)
OKLaboklab(62.71% -0.0749 0.1155)
OKLCHoklch(62.71% 0.138 122.9)
XYZxyz(18.9827, 25.6997, 5.7938)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799526 #422695
analogous
#957A26 #799526 #429526
triadic
#799526 #267995 #952679
tetradic
#799526 #26957A #422695 #952642
square
#799526 #26957A #422695 #952642
split-complementary
#799526 #264295 #7A2695
monochromatic
#2A330D #51641A #799526 #A1C632 #B8D65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799526#FFFFFF#000000##000000
##7995261.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)
#9E8B10
Deuteranopia (green-blind)
#9A8B30
Tritanopia (blue-blind)
#7F8D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #799526;
/* rgb */ color: rgb(121, 149, 38);
/* oklch */ color: oklch(62.7% 0.138 122.9);
Tailwind
colors: {
  custom: {
    50: '#a3b469',
    500: '#799526',
    950: '#000000',
  },
}
SCSS
$custom: #799526;
$custom-light: #a3b469;
$custom-dark: #000000;
JSON
{
  "hex": "#799526",
  "rgb": {
    "r": 121,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 75.135,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62706,
    "c": 0.13767,
    "h": 122.9
  },
  "luminance": 0.257
}

Semantic roles & 50–950 ramp

primary
#799526
secondary
#745BBB
accent
#45E36D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799526

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

Preview Lab → · Contrast checker → · Palette generator →

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