#626E12#626E12

#626E12 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.1% C 0.111 H 117.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#626E12
RGBrgb(98, 110, 18)
HSLhsl(68, 72%, 25%)
HSVhsv(68, 84%, 43%)
CMYKcmyk(10.9%, 0%, 83.6%, 56.9%)
CIE-LABlab(43.93, -16.74, 45.23)
CIE-LCHlch(43.93, 48.23, 110.31°)
OKLaboklab(51.1% -0.0508 0.0985)
OKLCHoklch(51.1% 0.111 117.3)
XYZxyz(10.7224, 13.7923, 2.6695)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626E12 #1E126E
analogous
#6E4C12 #626E12 #346E12
triadic
#626E12 #12626E #6E1262
tetradic
#626E12 #126E4C #1E126E #6E1234
square
#626E12 #126E4C #1E126E #6E1234
split-complementary
#626E12 #12346E #4C126E
monochromatic
#171A04 #333909 #626E12 #91A31B #C0D723

Accessibility & contrast

On white

5.59
#626E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#626E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626E12
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626E12#FFFFFF#000000##FFFFFF
##626E121.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#75681B
Tritanopia (blue-blind)
#69675D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626e12;
/* rgb */ color: rgb(98, 110, 18);
/* oklch */ color: oklch(51.1% 0.111 117.3);
Tailwind
colors: {
  custom: {
    50: '#92975a',
    500: '#626e12',
    950: '#000000',
  },
}
SCSS
$custom: #626e12;
$custom-light: #92975a;
$custom-dark: #000000;
JSON
{
  "hex": "#626e12",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 67.826,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.11085,
    "h": 117.3
  },
  "luminance": 0.13792
}

Semantic roles & 50–950 ramp

primary
#626E12
secondary
#4537A5
accent
#39EF51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626E12

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

Preview Lab → · Contrast checker → · Palette generator →

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