#626C12#626C12

#626C12 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.6% C 0.108 H 116.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#626C12
RGBrgb(98, 108, 18)
HSLhsl(67, 71%, 25%)
HSVhsv(67, 83%, 42%)
CMYKcmyk(9.3%, 0%, 83.3%, 57.6%)
CIE-LABlab(43.31, -15.66, 44.68)
CIE-LCHlch(43.31, 47.34, 109.32°)
OKLaboklab(50.59% -0.0478 0.0973)
OKLCHoklch(50.59% 0.108 116.2)
XYZxyz(10.5090, 13.3656, 2.5984)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626C12 #1C126C
analogous
#6C4912 #626C12 #356C12
triadic
#626C12 #12626C #6C1262
tetradic
#626C12 #126C49 #1C126C #6C1235
square
#626C12 #126C49 #1C126C #6C1235
split-complementary
#626C12 #12356C #49126C
monochromatic
#181A04 #323809 #626C12 #92A01B #C1D523

Accessibility & contrast

On white

5.72
#626C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#626C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626C12
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626C12#FFFFFF#000000##FFFFFF
##626C121.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#69655C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626c12;
/* rgb */ color: rgb(98, 108, 18);
/* oklch */ color: oklch(50.6% 0.108 116.2);
Tailwind
colors: {
  custom: {
    50: '#929659',
    500: '#626c12',
    950: '#000000',
  },
}
SCSS
$custom: #626c12;
$custom-light: #929659;
$custom-dark: #000000;
JSON
{
  "hex": "#626c12",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 66.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.10845,
    "h": 116.2
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#626C12
secondary
#4336A3
accent
#3AEE4E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626C12

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

Preview Lab → · Contrast checker → · Palette generator →

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