#626915#626915

#626915 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 49.9% C 0.103 H 114.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#626915
RGBrgb(98, 105, 21)
HSLhsl(65, 67%, 25%)
HSVhsv(65, 80%, 41%)
CMYKcmyk(6.7%, 0%, 80%, 58.8%)
CIE-LABlab(42.39, -13.89, 42.84)
CIE-LCHlch(42.39, 45.04, 107.96°)
OKLaboklab(49.86% -0.0427 0.094)
OKLCHoklch(49.86% 0.103 114.4)
XYZxyz(10.2242, 12.7542, 2.6325)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626915 #1C1569
analogous
#694615 #626915 #386915
triadic
#626915 #156269 #691562
tetradic
#626915 #156946 #1C1569 #691538
square
#626915 #156946 #1C1569 #691538
split-complementary
#626915 #153869 #461569
monochromatic
#181A05 #32360B #626915 #929C1F #C1CF29

Accessibility & contrast

On white

5.91
#626915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#626915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626915
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626915#FFFFFF#000000##FFFFFF
##6269151.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716302
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#696259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #626915;
/* rgb */ color: rgb(98, 105, 21);
/* oklch */ color: oklch(49.9% 0.103 114.4);
Tailwind
colors: {
  custom: {
    50: '#91935a',
    500: '#626915',
    950: '#000000',
  },
}
SCSS
$custom: #626915;
$custom-light: #91935a;
$custom-dark: #000000;
JSON
{
  "hex": "#626915",
  "rgb": {
    "r": 98,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 65,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49861,
    "c": 0.10325,
    "h": 114.4
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#626915
secondary
#433AA0
accent
#3EEA4C
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626915

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

Preview Lab → · Contrast checker → · Palette generator →

#626915 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva