#626912#626912

#626912 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.8% C 0.105 H 114.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#626912
RGBrgb(98, 105, 18)
HSLhsl(65, 71%, 24%)
HSVhsv(65, 83%, 41%)
CMYKcmyk(6.7%, 0%, 82.9%, 58.8%)
CIE-LABlab(42.37, -14.02, 43.84)
CIE-LCHlch(42.37, 46.03, 107.74°)
OKLaboklab(49.84% -0.0433 0.0956)
OKLCHoklch(49.84% 0.105 114.4)
XYZxyz(10.1981, 12.7437, 2.4947)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626912 #191269
analogous
#694512 #626912 #376912
triadic
#626912 #126269 #691262
tetradic
#626912 #126945 #191269 #691237
square
#626912 #126945 #191269 #691237
split-complementary
#626912 #123769 #451269
monochromatic
#181A04 #313509 #626912 #939D1B #C4D124

Accessibility & contrast

On white

5.92
#626912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#626912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626912
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626912#FFFFFF#000000##FFFFFF
##6269121.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#696259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #626912;
/* rgb */ color: rgb(98, 105, 18);
/* oklch */ color: oklch(49.8% 0.105 114.4);
Tailwind
colors: {
  custom: {
    50: '#929359',
    500: '#626912',
    950: '#000000',
  },
}
SCSS
$custom: #626912;
$custom-light: #929359;
$custom-dark: #000000;
JSON
{
  "hex": "#626912",
  "rgb": {
    "r": 98,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 64.828,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.10491,
    "h": 114.4
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#626912
secondary
#3F36A1
accent
#3AED49
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626912

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

Preview Lab → · Contrast checker → · Palette generator →

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