#626F15#626F15

#626F15 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.110 H 117.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#626F15
RGBrgb(98, 111, 21)
HSLhsl(69, 68%, 26%)
HSVhsv(69, 81%, 44%)
CMYKcmyk(11.7%, 0%, 81.1%, 56.5%)
CIE-LABlab(44.26, -17.14, 44.56)
CIE-LCHlch(44.26, 47.75, 111.04°)
OKLaboklab(51.36% -0.0517 0.0977)
OKLCHoklch(51.36% 0.11 117.9)
XYZxyz(10.8571, 14.0198, 2.8435)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F15 #22156F
analogous
#6F4F15 #626F15 #356F15
triadic
#626F15 #15626F #6F1562
tetradic
#626F15 #156F4F #22156F #6F1535
square
#626F15 #156F4F #22156F #6F1535
split-complementary
#626F15 #15356F #4F156F
monochromatic
#171A05 #353C0B #626F15 #8FA21F #BDD628

Accessibility & contrast

On white

5.52
#626F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#626F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626F15
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626F15#FFFFFF#000000##FFFFFF
##626F151.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#68685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f15;
/* rgb */ color: rgb(98, 111, 21);
/* oklch */ color: oklch(51.4% 0.110 117.9);
Tailwind
colors: {
  custom: {
    50: '#92985b',
    500: '#626f15',
    950: '#000000',
  },
}
SCSS
$custom: #626f15;
$custom-light: #92985b;
$custom-dark: #000000;
JSON
{
  "hex": "#626f15",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 68.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.11049,
    "h": 117.9
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#626F15
secondary
#4A3AA5
accent
#3DEB56
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626F15

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

Preview Lab → · Contrast checker → · Palette generator →

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