#62791C#62791C

#62791C is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 53.9% C 0.119 H 122.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#62791C
RGBrgb(98, 121, 28)
HSLhsl(75, 62%, 29%)
HSVhsv(75, 77%, 47%)
CMYKcmyk(19%, 0%, 76.9%, 52.5%)
CIE-LABlab(47.44, -22.02, 45.07)
CIE-LCHlch(47.44, 50.16, 116.04°)
OKLaboklab(53.94% -0.0644 0.1)
OKLCHoklch(53.94% 0.119 122.8)
XYZxyz(12.0841, 16.3552, 3.6186)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62791C #331C79
analogous
#79621C #62791C #34791C
triadic
#62791C #1C6279 #791C62
tetradic
#62791C #1C7962 #331C79 #791C34
square
#62791C #1C7962 #331C79 #791C34
split-complementary
#62791C #1C3479 #621C79
monochromatic
#141906 #3A4710 #62791C #8AAB28 #ADD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62791C#FFFFFF#000000##FFFFFF
##62791C1.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)
#807108
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#677367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #62791c;
/* rgb */ color: rgb(98, 121, 28);
/* oklch */ color: oklch(53.9% 0.119 122.8);
Tailwind
colors: {
  custom: {
    50: '#929f60',
    500: '#62791c',
    950: '#000000',
  },
}
SCSS
$custom: #62791c;
$custom-light: #929f60;
$custom-dark: #000000;
JSON
{
  "hex": "#62791c",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 74.839,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.11899,
    "h": 122.8
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#62791C
secondary
#5E44AD
accent
#42E56B
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62791C

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

Preview Lab → · Contrast checker → · Palette generator →

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