#626F16#626F16

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

Color values

HEX#626F16
RGBrgb(98, 111, 22)
HSLhsl(69, 67%, 26%)
HSVhsv(69, 80%, 44%)
CMYKcmyk(11.7%, 0%, 80.2%, 56.5%)
CIE-LABlab(44.27, -17.10, 44.23)
CIE-LCHlch(44.27, 47.42, 111.14°)
OKLaboklab(51.37% -0.0514 0.0972)
OKLCHoklch(51.37% 0.11 117.9)
XYZxyz(10.8665, 14.0236, 2.8933)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F16 #23166F
analogous
#6F4F16 #626F16 #356F16
triadic
#626F16 #16626F #6F1662
tetradic
#626F16 #166F4F #23166F #6F1635
square
#626F16 #166F4F #23166F #6F1635
split-complementary
#626F16 #16356F #4F166F
monochromatic
#171A05 #353C0C #626F16 #8FA220 #BCD52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626F16#FFFFFF#000000##FFFFFF
##626F161.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)
#776801
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#68685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f16;
/* rgb */ color: rgb(98, 111, 22);
/* oklch */ color: oklch(51.4% 0.110 117.9);
Tailwind
colors: {
  custom: {
    50: '#92985c',
    500: '#626f16',
    950: '#000000',
  },
}
SCSS
$custom: #626f16;
$custom-light: #92985c;
$custom-dark: #000000;
JSON
{
  "hex": "#626f16",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 68.764,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.5137,
    "c": 0.10993,
    "h": 117.9
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

primary
#626F16
secondary
#4B3CA5
accent
#3EEA57
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626F16

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

Preview Lab → · Contrast checker → · Palette generator →

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