#626B15#626B15

#626B15 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.4% C 0.106 H 115.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#626B15
RGBrgb(98, 107, 21)
HSLhsl(66, 67%, 25%)
HSVhsv(66, 80%, 42%)
CMYKcmyk(8.4%, 0%, 80.4%, 58%)
CIE-LABlab(43.01, -14.99, 43.42)
CIE-LCHlch(43.01, 45.93, 109.04°)
OKLaboklab(50.36% -0.0457 0.0952)
OKLCHoklch(50.36% 0.106 115.6)
XYZxyz(10.4303, 13.1664, 2.7012)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B15 #1E156B
analogous
#6B4915 #626B15 #376B15
triadic
#626B15 #15626B #6B1562
tetradic
#626B15 #156B49 #1E156B #6B1537
square
#626B15 #156B49 #1E156B #6B1537
split-complementary
#626B15 #15376B #49156B
monochromatic
#171A05 #33380B #626B15 #919E1F #C0D129

Accessibility & contrast

On white

5.78
#626B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#626B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626B15
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626B15#FFFFFF#000000##FFFFFF
##626B151.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#69645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626b15;
/* rgb */ color: rgb(98, 107, 21);
/* oklch */ color: oklch(50.4% 0.106 115.6);
Tailwind
colors: {
  custom: {
    50: '#92955b',
    500: '#626b15',
    950: '#000000',
  },
}
SCSS
$custom: #626b15;
$custom-light: #92955b;
$custom-dark: #000000;
JSON
{
  "hex": "#626b15",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 66.279,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.10564,
    "h": 115.6
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#626B15
secondary
#453AA2
accent
#3EEA50
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626B15

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

Preview Lab → · Contrast checker → · Palette generator →

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