#62701A#62701A

#62701A is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.6% C 0.109 H 118.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#62701A
RGBrgb(98, 112, 26)
HSLhsl(70, 62%, 27%)
HSVhsv(70, 77%, 44%)
CMYKcmyk(12.5%, 0%, 76.8%, 56.1%)
CIE-LABlab(44.60, -17.43, 43.10)
CIE-LCHlch(44.60, 46.49, 112.02°)
OKLaboklab(51.65% -0.052 0.0955)
OKLCHoklch(51.65% 0.109 118.6)
XYZxyz(11.0179, 14.2597, 3.1490)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62701A #281A70
analogous
#70531A #62701A #37701A
triadic
#62701A #1A6270 #701A62
tetradic
#62701A #1A7053 #281A70 #701A37
square
#62701A #1A7053 #281A70 #701A37
split-complementary
#62701A #1A3770 #531A70
monochromatic
#161906 #373E0E #62701A #8DA226 #B7D034

Accessibility & contrast

On white

5.45
#62701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#62701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62701A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62701A#FFFFFF#000000##FFFFFF
##62701A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786909
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#686A60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #62701a;
/* rgb */ color: rgb(98, 112, 26);
/* oklch */ color: oklch(51.6% 0.109 118.6);
Tailwind
colors: {
  custom: {
    50: '#91995e',
    500: '#62701a',
    950: '#000000',
  },
}
SCSS
$custom: #62701a;
$custom-light: #91995e;
$custom-dark: #000000;
JSON
{
  "hex": "#62701a",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 69.767,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.10874,
    "h": 118.6
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#62701A
secondary
#5141A5
accent
#42E55D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #62701A

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

Preview Lab → · Contrast checker → · Palette generator →

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