#626512#626512

#626512 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.8% C 0.100 H 111.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#626512
RGBrgb(98, 101, 18)
HSLhsl(62, 70%, 23%)
HSVhsv(62, 82%, 40%)
CMYKcmyk(3%, 0%, 82.2%, 60.4%)
CIE-LABlab(41.13, -11.80, 42.73)
CIE-LCHlch(41.13, 44.33, 105.44°)
OKLaboklab(48.85% -0.0372 0.0932)
OKLCHoklch(48.85% 0.1 111.7)
XYZxyz(9.8002, 11.9480, 2.3621)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626512 #151265
analogous
#653E12 #626512 #386512
triadic
#626512 #126265 #651262
tetradic
#626512 #12653E #151265 #651238
square
#626512 #12653E #151265 #651238
split-complementary
#626512 #123865 #3E1265
monochromatic
#191A05 #303109 #626512 #94991B #C7CD25

Accessibility & contrast

On white

6.20
#626512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#626512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626512
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626512#FFFFFF#000000##FFFFFF
##6265121.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#695E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #626512;
/* rgb */ color: rgb(98, 101, 18);
/* oklch */ color: oklch(48.8% 0.100 111.7);
Tailwind
colors: {
  custom: {
    50: '#929058',
    500: '#626512',
    950: '#000000',
  },
}
SCSS
$custom: #626512;
$custom-light: #929058;
$custom-dark: #000000;
JSON
{
  "hex": "#626512",
  "rgb": {
    "r": 98,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 62.169,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48848,
    "c": 0.10032,
    "h": 111.7
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#626512
secondary
#3A369D
accent
#3BED42
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626512

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

Preview Lab → · Contrast checker → · Palette generator →

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