#626E1A#626E1A

#626E1A is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.1% C 0.106 H 117.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#626E1A
RGBrgb(98, 110, 26)
HSLhsl(69, 62%, 27%)
HSVhsv(69, 76%, 43%)
CMYKcmyk(10.9%, 0%, 76.4%, 56.9%)
CIE-LABlab(43.98, -16.35, 42.50)
CIE-LCHlch(43.98, 45.53, 111.05°)
OKLaboklab(51.15% -0.049 0.0943)
OKLCHoklch(51.15% 0.106 117.5)
XYZxyz(10.7996, 13.8232, 3.0763)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626E1A #261A6E
analogous
#6E501A #626E1A #386E1A
triadic
#626E1A #1A626E #6E1A62
tetradic
#626E1A #1A6E50 #261A6E #6E1A38
square
#626E1A #1A6E50 #261A6E #6E1A38
split-complementary
#626E1A #1A386E #501A6E
monochromatic
#161906 #363D0E #626E1A #8EA026 #B9CF34

Accessibility & contrast

On white

5.58
#626E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#626E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626E1A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626E1A#FFFFFF#000000##FFFFFF
##626E1A1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680A
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#68685E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626e1a;
/* rgb */ color: rgb(98, 110, 26);
/* oklch */ color: oklch(51.1% 0.106 117.5);
Tailwind
colors: {
  custom: {
    50: '#91975d',
    500: '#626e1a',
    950: '#000000',
  },
}
SCSS
$custom: #626e1a;
$custom-light: #91975d;
$custom-dark: #000000;
JSON
{
  "hex": "#626e1a",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 68.571,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.10624,
    "h": 117.5
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#626E1A
secondary
#4F41A3
accent
#43E55A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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