#626212#626212

#626212 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.097 H 109.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#626212
RGBrgb(98, 98, 18)
HSLhsl(60, 69%, 23%)
HSVhsv(60, 82%, 38%)
CMYKcmyk(0%, 0%, 81.6%, 61.6%)
CIE-LABlab(40.21, -10.11, 41.89)
CIE-LCHlch(40.21, 43.09, 103.57°)
OKLaboklab(48.11% -0.0325 0.0914)
OKLCHoklch(48.11% 0.097 109.6)
XYZxyz(9.5142, 11.3760, 2.2668)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626212 #121262
analogous
#623A12 #626212 #3A6212
triadic
#626212 #126262 #621262
tetradic
#626212 #12623A #121262 #62123A
square
#626212 #12623A #121262 #62123A
split-complementary
#626212 #123A62 #3A1262
monochromatic
#1A1A05 #2E2E09 #626212 #96961B #C9C925

Accessibility & contrast

On white

6.41
#626212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#626212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626212
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626212#FFFFFF#000000##FFFFFF
##6262121.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#6A5B53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #626212;
/* rgb */ color: rgb(98, 98, 18);
/* oklch */ color: oklch(48.1% 0.097 109.6);
Tailwind
colors: {
  custom: {
    50: '#928e58',
    500: '#626212',
    950: '#000000',
  },
}
SCSS
$custom: #626212;
$custom-light: #928e58;
$custom-dark: #000000;
JSON
{
  "hex": "#626212",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.09699,
    "h": 109.6
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#626212
secondary
#36369A
accent
#3CEC3C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626212

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

Preview Lab → · Contrast checker → · Palette generator →

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