#626E15#626E15

#626E15 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.1% C 0.109 H 117.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#626E15
RGBrgb(98, 110, 21)
HSLhsl(68, 68%, 26%)
HSVhsv(68, 81%, 43%)
CMYKcmyk(10.9%, 0%, 80.9%, 56.9%)
CIE-LABlab(43.95, -16.61, 44.28)
CIE-LCHlch(43.95, 47.29, 110.56°)
OKLaboklab(51.11% -0.0502 0.0971)
OKLCHoklch(51.11% 0.109 117.3)
XYZxyz(10.7486, 13.8028, 2.8073)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626E15 #21156E
analogous
#6E4D15 #626E15 #356E15
triadic
#626E15 #15626E #6E1562
tetradic
#626E15 #156E4D #21156E #6E1535
square
#626E15 #156E4D #21156E #6E1535
split-complementary
#626E15 #15356E #4D156E
monochromatic
#171A05 #343B0B #626E15 #90A11F #BED529

Accessibility & contrast

On white

5.58
#626E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#626E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626E15
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626E15#FFFFFF#000000##FFFFFF
##626E151.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#69675D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626e15;
/* rgb */ color: rgb(98, 110, 21);
/* oklch */ color: oklch(51.1% 0.109 117.3);
Tailwind
colors: {
  custom: {
    50: '#92975b',
    500: '#626e15',
    950: '#000000',
  },
}
SCSS
$custom: #626e15;
$custom-light: #92975b;
$custom-dark: #000000;
JSON
{
  "hex": "#626e15",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 68.09,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51113,
    "c": 0.10926,
    "h": 117.3
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#626E15
secondary
#493AA4
accent
#3DEB54
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626E15

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

Preview Lab → · Contrast checker → · Palette generator →

#626E15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva