#626A0E#626A0E

#626A0E is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.1% C 0.108 H 114.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#626A0E
RGBrgb(98, 106, 14)
HSLhsl(65, 77%, 24%)
HSVhsv(65, 87%, 42%)
CMYKcmyk(7.5%, 0%, 86.8%, 58.4%)
CIE-LABlab(42.67, -14.72, 45.30)
CIE-LCHlch(42.67, 47.63, 108.01°)
OKLaboklab(50.07% -0.0455 0.0979)
OKLCHoklch(50.07% 0.108 114.9)
XYZxyz(10.2706, 12.9366, 2.3714)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A0E #160E6A
analogous
#6A440E #626A0E #346A0E
triadic
#626A0E #0E626A #6A0E62
tetradic
#626A0E #0E6A44 #160E6A #6A0E34
square
#626A0E #0E6A44 #160E6A #6A0E34
split-complementary
#626A0E #0E346A #440E6A
monochromatic
#191B04 #303407 #626A0E #94A015 #C6D61C

Accessibility & contrast

On white

5.85
#626A0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#626A0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626A0E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626A0E#FFFFFF#000000##FFFFFF
##626A0E1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#726518
Tritanopia (blue-blind)
#69635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a0e;
/* rgb */ color: rgb(98, 106, 14);
/* oklch */ color: oklch(50.1% 0.108 114.9);
Tailwind
colors: {
  custom: {
    50: '#929457',
    500: '#626a0e',
    950: '#000000',
  },
}
SCSS
$custom: #626a0e;
$custom-light: #929457;
$custom-dark: #000000;
JSON
{
  "hex": "#626a0e",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 14
  },
  "hsl": {
    "h": 65.217,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.108,
    "h": 114.9
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#626A0E
secondary
#3B31A3
accent
#35F345
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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