#626E1C#626E1C

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

Color values

HEX#626E1C
RGBrgb(98, 110, 28)
HSLhsl(69, 59%, 27%)
HSVhsv(69, 75%, 43%)
CMYKcmyk(10.9%, 0%, 74.5%, 56.9%)
CIE-LABlab(43.99, -16.24, 41.73)
CIE-LCHlch(43.99, 44.77, 111.26°)
OKLaboklab(51.16% -0.0485 0.093)
OKLCHoklch(51.16% 0.105 117.5)
XYZxyz(10.8228, 13.8325, 3.1982)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626E1C #281C6E
analogous
#6E511C #626E1C #396E1C
triadic
#626E1C #1C626E #6E1C62
tetradic
#626E1C #1C6E51 #281C6E #6E1C39
square
#626E1C #1C6E51 #281C6E #6E1C39
split-complementary
#626E1C #1C396E #511C6E
monochromatic
#161806 #373D10 #626E1C #8D9F28 #B7CC38

Accessibility & contrast

On white

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

On black

3.77
#626E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##626E1C#FFFFFF#000000##FFFFFF
##626E1C1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #626e1c;
/* rgb */ color: rgb(98, 110, 28);
/* oklch */ color: oklch(51.2% 0.105 117.5);
Tailwind
colors: {
  custom: {
    50: '#91975e',
    500: '#626e1c',
    950: '#000000',
  },
}
SCSS
$custom: #626e1c;
$custom-light: #91975e;
$custom-dark: #000000;
JSON
{
  "hex": "#626e1c",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 68.78,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.10488,
    "h": 117.5
  },
  "luminance": 0.13832
}

Semantic roles & 50–950 ramp

primary
#626E1C
secondary
#5143A3
accent
#45E35C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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