#62791A#62791A

#62791A is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.9% C 0.120 H 122.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#62791A
RGBrgb(98, 121, 26)
HSLhsl(75, 65%, 29%)
HSVhsv(75, 79%, 47%)
CMYKcmyk(19%, 0%, 78.5%, 52.5%)
CIE-LABlab(47.43, -22.13, 45.78)
CIE-LCHlch(47.43, 50.85, 115.80°)
OKLaboklab(53.92% -0.0649 0.1012)
OKLCHoklch(53.92% 0.12 122.7)
XYZxyz(12.0610, 16.3459, 3.4968)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62791A #311A79
analogous
#79611A #62791A #33791A
triadic
#62791A #1A6279 #791A62
tetradic
#62791A #1A7961 #311A79 #791A33
square
#62791A #1A7961 #311A79 #791A33
split-complementary
#62791A #1A3379 #611A79
monochromatic
#141905 #39470F #62791A #8BAB25 #AFD439

Accessibility & contrast

On white

4.92
#62791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#62791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62791A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62791A#FFFFFF#000000##FFFFFF
##62791A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817104
Deuteranopia (green-blind)
#7E7023
Tritanopia (blue-blind)
#677367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #62791a;
/* rgb */ color: rgb(98, 121, 26);
/* oklch */ color: oklch(53.9% 0.120 122.7);
Tailwind
colors: {
  custom: {
    50: '#929f5f',
    500: '#62791a',
    950: '#000000',
  },
}
SCSS
$custom: #62791a;
$custom-light: #929f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#62791a",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 74.526,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53924,
    "c": 0.1202,
    "h": 122.7
  },
  "luminance": 0.16346
}

Semantic roles & 50–950 ramp

primary
#62791A
secondary
#5C41AD
accent
#40E869
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62791A

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

Preview Lab → · Contrast checker → · Palette generator →

#62791A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva