#626A14#626A14

#626A14 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.1% C 0.105 H 115.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#626A14
RGBrgb(98, 106, 20)
HSLhsl(66, 68%, 25%)
HSVhsv(66, 81%, 42%)
CMYKcmyk(7.5%, 0%, 81.1%, 58.4%)
CIE-LABlab(42.70, -14.48, 43.47)
CIE-LCHlch(42.70, 45.82, 108.43°)
OKLaboklab(50.1% -0.0444 0.0952)
OKLCHoklch(50.1% 0.105 115)
XYZxyz(10.3176, 12.9554, 2.6188)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A14 #1C146A
analogous
#6A4714 #626A14 #376A14
triadic
#626A14 #14626A #6A1462
tetradic
#626A14 #146A47 #1C146A #6A1437
square
#626A14 #146A47 #1C146A #6A1437
split-complementary
#626A14 #14376A #47146A
monochromatic
#181A05 #32370A #626A14 #929D1E #C1D127

Accessibility & contrast

On white

5.85
#626A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#626A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626A14
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626A14#FFFFFF#000000##FFFFFF
##626A141.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#72651C
Tritanopia (blue-blind)
#69635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a14;
/* rgb */ color: rgb(98, 106, 20);
/* oklch */ color: oklch(50.1% 0.105 115.0);
Tailwind
colors: {
  custom: {
    50: '#92945a',
    500: '#626a14',
    950: '#000000',
  },
}
SCSS
$custom: #626a14;
$custom-light: #92945a;
$custom-dark: #000000;
JSON
{
  "hex": "#626a14",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 65.581,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50104,
    "c": 0.10501,
    "h": 115
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#626A14
secondary
#4339A1
accent
#3DEB4D
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A14

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

Preview Lab → · Contrast checker → · Palette generator →

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