#626A1C#626A1C

#626A1C is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.2% C 0.100 H 115.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#626A1C
RGBrgb(98, 106, 28)
HSLhsl(66, 58%, 26%)
HSVhsv(66, 74%, 42%)
CMYKcmyk(7.5%, 0%, 73.6%, 58.4%)
CIE-LABlab(42.75, -14.06, 40.50)
CIE-LCHlch(42.75, 42.87, 109.15°)
OKLaboklab(50.16% -0.0424 0.0904)
OKLCHoklch(50.16% 0.1 115.2)
XYZxyz(10.4009, 12.9888, 3.0576)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A1C #241C6A
analogous
#6A4B1C #626A1C #3B6A1C
triadic
#626A1C #1C626A #6A1C62
tetradic
#626A1C #1C6A4B #241C6A #6A1C3B
square
#626A1C #1C6A4B #241C6A #6A1C3B
split-complementary
#626A1C #1C3B6A #4B1C6A
monochromatic
#161806 #353A0F #626A1C #8F9A29 #BBCA36

Accessibility & contrast

On white

5.84
#626A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#626A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626A1C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626A1C#FFFFFF#000000##FFFFFF
##626A1C1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640F
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#69645B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a1c;
/* rgb */ color: rgb(98, 106, 28);
/* oklch */ color: oklch(50.2% 0.100 115.2);
Tailwind
colors: {
  custom: {
    50: '#91945e',
    500: '#626a1c',
    950: '#000000',
  },
}
SCSS
$custom: #626a1c;
$custom-light: #91945e;
$custom-dark: #000000;
JSON
{
  "hex": "#626a1c",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 66.154,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50161,
    "c": 0.09988,
    "h": 115.2
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#626A1C
secondary
#4C439F
accent
#46E156
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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