#799252#799252

#799252 is a light, moderate yellow-green. Relative luminance 0.252; OKLCH L 62.5% C 0.094 H 126.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#799252
RGBrgb(121, 146, 82)
HSLhsl(83, 28%, 45%)
HSVhsv(83, 44%, 57%)
CMYKcmyk(17.1%, 0%, 43.8%, 42.7%)
CIE-LABlab(57.30, -20.12, 30.99)
CIE-LCHlch(57.30, 36.95, 122.99°)
OKLaboklab(62.49% -0.0556 0.0754)
OKLCHoklch(62.49% 0.094 126.4)
XYZxyz(19.6869, 25.2317, 11.8140)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799252 #6B5292
analogous
#928B52 #799252 #599252
triadic
#799252 #527992 #925279
tetradic
#799252 #52928B #6B5292 #925259
square
#799252 #52928B #6B5292 #925259
split-complementary
#799252 #525992 #8B5292
monochromatic
#384426 #596B3C #799252 #97B072 #B4C699

Accessibility & contrast

On white

3.47
#799252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#799252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799252
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799252#FFFFFF#000000##000000
##7992521.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B4D
Deuteranopia (green-blind)
#958955
Tritanopia (blue-blind)
#7C8D83
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799252;
/* rgb */ color: rgb(121, 146, 82);
/* oklch */ color: oklch(62.5% 0.094 126.4);
Tailwind
colors: {
  custom: {
    50: '#a1b284',
    500: '#799252',
    950: '#000000',
  },
}
SCSS
$custom: #799252;
$custom-light: #a1b284;
$custom-dark: #000000;
JSON
{
  "hex": "#799252",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 82
  },
  "hsl": {
    "h": 83.438,
    "s": 28.07,
    "l": 44.706
  },
  "oklch": {
    "l": 0.62488,
    "c": 0.09363,
    "h": 126.4
  },
  "luminance": 0.25232
}

Semantic roles & 50–950 ramp

primary
#799252
secondary
#9C8DB3
accent
#63C489
background
#FAFAF8
surface
#F3F5EF
border
#CDCFCA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #799252

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

Preview Lab → · Contrast checker → · Palette generator →

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