#62710F#62710F

#62710F is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.8% C 0.116 H 118.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#62710F
RGBrgb(98, 113, 15)
HSLhsl(69, 77%, 25%)
HSVhsv(69, 87%, 44%)
CMYKcmyk(13.3%, 0%, 86.7%, 55.7%)
CIE-LABlab(44.86, -18.45, 46.91)
CIE-LCHlch(44.86, 50.41, 111.47°)
OKLaboklab(51.84% -0.0557 0.1016)
OKLCHoklch(51.84% 0.116 118.7)
XYZxyz(11.0286, 14.4415, 2.6583)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62710F #1E0F71
analogous
#714F0F #62710F #31710F
triadic
#62710F #0F6271 #710F62
tetradic
#62710F #0F714F #1E0F71 #710F31
square
#62710F #0F714F #1E0F71 #710F31
split-complementary
#62710F #0F3171 #4F0F71
monochromatic
#171B04 #333B08 #62710F #91A716 #C0DD1D

Accessibility & contrast

On white

5.40
#62710F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#62710F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62710F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62710F#FFFFFF#000000##FFFFFF
##62710F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#776A1A
Tritanopia (blue-blind)
#686A60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #62710f;
/* rgb */ color: rgb(98, 113, 15);
/* oklch */ color: oklch(51.8% 0.116 118.7);
Tailwind
colors: {
  custom: {
    50: '#929959',
    500: '#62710f',
    950: '#000000',
  },
}
SCSS
$custom: #62710f;
$custom-light: #929959;
$custom-dark: #000000;
JSON
{
  "hex": "#62710f",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 15
  },
  "hsl": {
    "h": 69.184,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.11585,
    "h": 118.7
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#62710F
secondary
#4533A9
accent
#35F352
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #62710F

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

Preview Lab → · Contrast checker → · Palette generator →

#62710F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva