#799223#799223

#799223 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 62.0% C 0.136 H 121.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#799223
RGBrgb(121, 146, 35)
HSLhsl(74, 61%, 35%)
HSVhsv(74, 76%, 57%)
CMYKcmyk(17.1%, 0%, 76%, 42.7%)
CIE-LABlab(56.83, -24.30, 52.11)
CIE-LCHlch(56.83, 57.50, 115.00°)
OKLaboklab(61.95% -0.0715 0.1154)
OKLCHoklch(61.95% 0.136 121.8)
XYZxyz(18.4677, 24.7440, 5.3929)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799223 #3C2392
analogous
#927423 #799223 #419223
triadic
#799223 #237992 #922379
tetradic
#799223 #239274 #3C2392 #922341
square
#799223 #239274 #3C2392 #922341
split-complementary
#799223 #234192 #742392
monochromatic
#272F0B #506117 #799223 #A2C32F #BBD758

Accessibility & contrast

On white

3.53
#799223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#799223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799223
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799223#FFFFFF#000000##000000
##7992231.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890A
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#808A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799223;
/* rgb */ color: rgb(121, 146, 35);
/* oklch */ color: oklch(62.0% 0.136 121.8);
Tailwind
colors: {
  custom: {
    50: '#a3b267',
    500: '#799223',
    950: '#000000',
  },
}
SCSS
$custom: #799223;
$custom-light: #a3b267;
$custom-dark: #000000;
JSON
{
  "hex": "#799223",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 73.514,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.13575,
    "h": 121.8
  },
  "luminance": 0.24744
}

Semantic roles & 50–950 ramp

primary
#799223
secondary
#6C55BB
accent
#43E468
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #799223

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

Preview Lab → · Contrast checker → · Palette generator →

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