#626F11#626F11

#626F11 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.3% C 0.113 H 117.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#626F11
RGBrgb(98, 111, 17)
HSLhsl(68, 73%, 25%)
HSVhsv(68, 85%, 44%)
CMYKcmyk(11.7%, 0%, 84.7%, 56.5%)
CIE-LABlab(44.24, -17.32, 45.81)
CIE-LCHlch(44.24, 48.97, 110.71°)
OKLaboklab(51.34% -0.0524 0.0996)
OKLCHoklch(51.34% 0.113 117.8)
XYZxyz(10.8229, 14.0061, 2.6635)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F11 #1E116F
analogous
#6F4D11 #626F11 #336F11
triadic
#626F11 #11626F #6F1162
tetradic
#626F11 #116F4D #1E116F #6F1133
square
#626F11 #116F4D #1E116F #6F1133
split-complementary
#626F11 #11336F #4D116F
monochromatic
#171B04 #333A09 #626F11 #91A419 #C0D921

Accessibility & contrast

On white

5.52
#626F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#626F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626F11
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626F11#FFFFFF#000000##FFFFFF
##626F111.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#69685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f11;
/* rgb */ color: rgb(98, 111, 17);
/* oklch */ color: oklch(51.3% 0.113 117.8);
Tailwind
colors: {
  custom: {
    50: '#929859',
    500: '#626f11',
    950: '#000000',
  },
}
SCSS
$custom: #626f11;
$custom-light: #929859;
$custom-dark: #000000;
JSON
{
  "hex": "#626f11",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 68.298,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51342,
    "c": 0.11254,
    "h": 117.8
  },
  "luminance": 0.14006
}

Semantic roles & 50–950 ramp

primary
#626F11
secondary
#4535A6
accent
#38F051
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626F11

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

Preview Lab → · Contrast checker → · Palette generator →

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