#626B14#626B14

#626B14 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#626B14
RGBrgb(98, 107, 20)
HSLhsl(66, 69%, 25%)
HSVhsv(66, 81%, 42%)
CMYKcmyk(8.4%, 0%, 81.3%, 58%)
CIE-LABlab(43.01, -15.03, 43.75)
CIE-LCHlch(43.01, 46.26, 108.96°)
OKLaboklab(50.35% -0.0459 0.0958)
OKLCHoklch(50.35% 0.106 115.6)
XYZxyz(10.4213, 13.1627, 2.6534)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B14 #1D146B
analogous
#6B4914 #626B14 #366B14
triadic
#626B14 #14626B #6B1462
tetradic
#626B14 #146B49 #1D146B #6B1436
square
#626B14 #146B49 #1D146B #6B1436
split-complementary
#626B14 #14366B #49146B
monochromatic
#181A05 #33370A #626B14 #919F1E #C0D227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626B14#FFFFFF#000000##FFFFFF
##626B141.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)
#736500
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#69645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626b14;
/* rgb */ color: rgb(98, 107, 20);
/* oklch */ color: oklch(50.4% 0.106 115.6);
Tailwind
colors: {
  custom: {
    50: '#92955a',
    500: '#626b14',
    950: '#000000',
  },
}
SCSS
$custom: #626b14;
$custom-light: #92955a;
$custom-dark: #000000;
JSON
{
  "hex": "#626b14",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 66.207,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.1062,
    "h": 115.6
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#626B14
secondary
#4439A2
accent
#3CEB4F
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626B14

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

Preview Lab → · Contrast checker → · Palette generator →

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