#799231#799231

#799231 is a light, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.1% C 0.126 H 122.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#799231
RGBrgb(121, 146, 49)
HSLhsl(75, 50%, 38%)
HSVhsv(75, 66%, 57%)
CMYKcmyk(17.1%, 0%, 66.4%, 42.7%)
CIE-LABlab(56.92, -23.42, 46.71)
CIE-LCHlch(56.92, 52.26, 116.63°)
OKLaboklab(62.06% -0.0678 0.1063)
OKLCHoklch(62.06% 0.126 122.5)
XYZxyz(18.7186, 24.8444, 6.7144)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799231 #4A3192
analogous
#927A31 #799231 #489231
triadic
#799231 #317992 #923179
tetradic
#799231 #31927A #4A3192 #923148
square
#799231 #31927A #4A3192 #923148
split-complementary
#799231 #314892 #7A3192
monochromatic
#2D3612 #536422 #799231 #9FBF41 #B6CF6F

Accessibility & contrast

On white

3.52
#799231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#799231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799231
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799231#FFFFFF#000000##000000
##7992311.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#978938
Tritanopia (blue-blind)
#7F8B7E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799231;
/* rgb */ color: rgb(121, 146, 49);
/* oklch */ color: oklch(62.1% 0.126 122.5);
Tailwind
colors: {
  custom: {
    50: '#a2b26e',
    500: '#799231',
    950: '#000000',
  },
}
SCSS
$custom: #799231;
$custom-light: #a2b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#799231",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 75.464,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62063,
    "c": 0.12607,
    "h": 122.5
  },
  "luminance": 0.24844
}

Semantic roles & 50–950 ramp

primary
#799231
secondary
#7D69B6
accent
#4FD972
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #799231

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

Preview Lab → · Contrast checker → · Palette generator →

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