#626A0F#626A0F

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

Color values

HEX#626A0F
RGBrgb(98, 106, 15)
HSLhsl(65, 75%, 24%)
HSVhsv(65, 86%, 42%)
CMYKcmyk(7.5%, 0%, 85.8%, 58.4%)
CIE-LABlab(42.67, -14.69, 45.02)
CIE-LCHlch(42.67, 47.36, 108.07°)
OKLaboklab(50.08% -0.0454 0.0975)
OKLCHoklch(50.08% 0.108 115)
XYZxyz(10.2776, 12.9394, 2.4080)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A0F #170F6A
analogous
#6A440F #626A0F #346A0F
triadic
#626A0F #0F626A #6A0F62
tetradic
#626A0F #0F6A44 #170F6A #6A0F34
square
#626A0F #0F6A44 #170F6A #6A0F34
split-complementary
#626A0F #0F346A #440F6A
monochromatic
#191B04 #303407 #626A0F #94A017 #C5D51E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626A0F#FFFFFF#000000##FFFFFF
##626A0F1.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: #626a0f;
/* rgb */ color: rgb(98, 106, 15);
/* oklch */ color: oklch(50.1% 0.108 115.0);
Tailwind
colors: {
  custom: {
    50: '#929458',
    500: '#626a0f',
    950: '#000000',
  },
}
SCSS
$custom: #626a0f;
$custom-light: #929458;
$custom-dark: #000000;
JSON
{
  "hex": "#626a0f",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 65.275,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.10755,
    "h": 115
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#626A0F
secondary
#3C32A2
accent
#36F247
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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