#626E1B#626E1B

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

Color values

HEX#626E1B
RGBrgb(98, 110, 27)
HSLhsl(69, 61%, 27%)
HSVhsv(69, 75%, 43%)
CMYKcmyk(10.9%, 0%, 75.5%, 56.9%)
CIE-LABlab(43.98, -16.30, 42.12)
CIE-LCHlch(43.98, 45.16, 111.15°)
OKLaboklab(51.15% -0.0488 0.0936)
OKLCHoklch(51.15% 0.106 117.5)
XYZxyz(10.8110, 13.8278, 3.1362)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626E1B #271B6E
analogous
#6E511B #626E1B #396E1B
triadic
#626E1B #1B626E #6E1B62
tetradic
#626E1B #1B6E51 #271B6E #6E1B39
square
#626E1B #1B6E51 #271B6E #6E1B39
split-complementary
#626E1B #1B396E #511B6E
monochromatic
#161906 #363D0F #626E1B #8E9F27 #B8CE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626E1B#FFFFFF#000000##FFFFFF
##626E1B1.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)
#76680C
Deuteranopia (green-blind)
#756822
Tritanopia (blue-blind)
#68685E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626e1b;
/* rgb */ color: rgb(98, 110, 27);
/* oklch */ color: oklch(51.2% 0.106 117.5);
Tailwind
colors: {
  custom: {
    50: '#91975e',
    500: '#626e1b',
    950: '#000000',
  },
}
SCSS
$custom: #626e1b;
$custom-light: #91975e;
$custom-dark: #000000;
JSON
{
  "hex": "#626e1b",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 68.675,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.10557,
    "h": 117.5
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#626E1B
secondary
#5042A3
accent
#44E45B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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