#626812#626812

#626812 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.6% C 0.104 H 113.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#626812
RGBrgb(98, 104, 18)
HSLhsl(64, 70%, 24%)
HSVhsv(64, 83%, 41%)
CMYKcmyk(5.8%, 0%, 82.7%, 59.2%)
CIE-LABlab(42.06, -13.47, 43.56)
CIE-LCHlch(42.06, 45.60, 107.19°)
OKLaboklab(49.59% -0.0418 0.095)
OKLCHoklch(49.59% 0.104 113.7)
XYZxyz(10.0968, 12.5412, 2.4610)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626812 #181268
analogous
#684312 #626812 #376812
triadic
#626812 #126268 #681262
tetradic
#626812 #126843 #181268 #681237
square
#626812 #126843 #181268 #681237
split-complementary
#626812 #123768 #431268
monochromatic
#191A05 #313409 #626812 #939C1B #C4D024

Accessibility & contrast

On white

5.99
#626812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#626812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626812
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626812#FFFFFF#000000##FFFFFF
##6268121.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#70641A
Tritanopia (blue-blind)
#696158
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #626812;
/* rgb */ color: rgb(98, 104, 18);
/* oklch */ color: oklch(49.6% 0.104 113.7);
Tailwind
colors: {
  custom: {
    50: '#929359',
    500: '#626812',
    950: '#000000',
  },
}
SCSS
$custom: #626812;
$custom-light: #929359;
$custom-dark: #000000;
JSON
{
  "hex": "#626812",
  "rgb": {
    "r": 98,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 64.186,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49594,
    "c": 0.10375,
    "h": 113.7
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#626812
secondary
#3E36A0
accent
#3BED47
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #626812

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

Preview Lab → · Contrast checker → · Palette generator →

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