#626712#626712

#626712 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.3% C 0.103 H 113.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#626712
RGBrgb(98, 103, 18)
HSLhsl(64, 70%, 24%)
HSVhsv(64, 83%, 40%)
CMYKcmyk(4.9%, 0%, 82.5%, 59.6%)
CIE-LABlab(41.75, -12.92, 43.28)
CIE-LCHlch(41.75, 45.17, 106.62°)
OKLaboklab(49.35% -0.0402 0.0944)
OKLCHoklch(49.35% 0.103 113.1)
XYZxyz(9.9968, 12.3411, 2.4276)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626712 #171267
analogous
#674112 #626712 #376712
triadic
#626712 #126267 #671262
tetradic
#626712 #126741 #171267 #671237
square
#626712 #126741 #171267 #671237
split-complementary
#626712 #123767 #411267
monochromatic
#191A05 #303309 #626712 #949B1B #C5CF24

Accessibility & contrast

On white

6.06
#626712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#626712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626712
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626712#FFFFFF#000000##FFFFFF
##6267121.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#696057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #626712;
/* rgb */ color: rgb(98, 103, 18);
/* oklch */ color: oklch(49.3% 0.103 113.1);
Tailwind
colors: {
  custom: {
    50: '#929259',
    500: '#626712',
    950: '#000000',
  },
}
SCSS
$custom: #626712;
$custom-light: #929259;
$custom-dark: #000000;
JSON
{
  "hex": "#626712",
  "rgb": {
    "r": 98,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 63.529,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.1026,
    "h": 113.1
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#626712
secondary
#3C369F
accent
#3BED45
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626712

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

Preview Lab → · Contrast checker → · Palette generator →

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