#626F1B#626F1B

#626F1B is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.107 H 118.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#626F1B
RGBrgb(98, 111, 27)
HSLhsl(69, 61%, 27%)
HSVhsv(69, 76%, 44%)
CMYKcmyk(11.7%, 0%, 75.7%, 56.5%)
CIE-LABlab(44.30, -16.84, 42.42)
CIE-LCHlch(44.30, 45.64, 111.65°)
OKLaboklab(51.4% -0.0503 0.0943)
OKLCHoklch(51.4% 0.107 118.1)
XYZxyz(10.9195, 14.0448, 3.1724)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F1B #281B6F
analogous
#6F521B #626F1B #386F1B
triadic
#626F1B #1B626F #6F1B62
tetradic
#626F1B #1B6F52 #281B6F #6F1B38
square
#626F1B #1B6F52 #281B6F #6F1B38
split-complementary
#626F1B #1B386F #521B6F
monochromatic
#161906 #373E0F #626F1B #8DA027 #B7CE36

Accessibility & contrast

On white

5.51
#626F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#626F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626F1B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626F1B#FFFFFF#000000##FFFFFF
##626F1B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690B
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#68695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f1b;
/* rgb */ color: rgb(98, 111, 27);
/* oklch */ color: oklch(51.4% 0.107 118.1);
Tailwind
colors: {
  custom: {
    50: '#91985e',
    500: '#626f1b',
    950: '#000000',
  },
}
SCSS
$custom: #626f1b;
$custom-light: #91985e;
$custom-dark: #000000;
JSON
{
  "hex": "#626f1b",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 69.286,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.10683,
    "h": 118.1
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#626F1B
secondary
#5142A4
accent
#44E45D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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