#626415#626415

#626415 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.097 H 111.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#626415
RGBrgb(98, 100, 21)
HSLhsl(62, 65%, 24%)
HSVhsv(62, 79%, 39%)
CMYKcmyk(2%, 0%, 79%, 60.8%)
CIE-LABlab(40.84, -11.11, 41.40)
CIE-LCHlch(40.84, 42.87, 105.02°)
OKLaboklab(48.62% -0.0349 0.091)
OKLCHoklch(48.62% 0.097 111)
XYZxyz(9.7299, 11.7654, 2.4677)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626415 #171564
analogous
#643E15 #626415 #3A6415
triadic
#626415 #156264 #641562
tetradic
#626415 #15643E #171564 #64153A
square
#626415 #15643E #171564 #64153A
split-complementary
#626415 #153A64 #3E1564
monochromatic
#191905 #30310A #626415 #949720 #C5C92A

Accessibility & contrast

On white

6.26
#626415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#626415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626415
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626415#FFFFFF#000000##FFFFFF
##6264151.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#695D55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626415;
/* rgb */ color: rgb(98, 100, 21);
/* oklch */ color: oklch(48.6% 0.097 111.0);
Tailwind
colors: {
  custom: {
    50: '#918f5a',
    500: '#626415',
    950: '#000000',
  },
}
SCSS
$custom: #626415;
$custom-light: #918f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#626415",
  "rgb": {
    "r": 98,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 61.519,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4862,
    "c": 0.09745,
    "h": 111
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#626415
secondary
#3C3A9B
accent
#40E844
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626415

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

Preview Lab → · Contrast checker → · Palette generator →

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