#626F18#626F18

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

Color values

HEX#626F18
RGBrgb(98, 111, 24)
HSLhsl(69, 64%, 26%)
HSVhsv(69, 78%, 44%)
CMYKcmyk(11.7%, 0%, 78.4%, 56.5%)
CIE-LABlab(44.28, -17.00, 43.53)
CIE-LCHlch(44.28, 46.73, 111.33°)
OKLaboklab(51.38% -0.051 0.0961)
OKLCHoklch(51.38% 0.109 118)
XYZxyz(10.8866, 14.0316, 2.9988)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F18 #25186F
analogous
#6F5118 #626F18 #376F18
triadic
#626F18 #18626F #6F1862
tetradic
#626F18 #186F51 #25186F #6F1837
square
#626F18 #186F51 #25186F #6F1837
split-complementary
#626F18 #18376F #51186F
monochromatic
#161905 #363D0D #626F18 #8EA123 #BAD22F

Accessibility & contrast

On white

5.52
#626F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #626F18
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626F18#FFFFFF#000000##FFFFFF
##626F181.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#68685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f18;
/* rgb */ color: rgb(98, 111, 24);
/* oklch */ color: oklch(51.4% 0.109 118.0);
Tailwind
colors: {
  custom: {
    50: '#91985c',
    500: '#626f18',
    950: '#000000',
  },
}
SCSS
$custom: #626f18;
$custom-light: #91985c;
$custom-dark: #000000;
JSON
{
  "hex": "#626f18",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 68.966,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.10875,
    "h": 118
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#626F18
secondary
#4E3EA5
accent
#40E759
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626F18

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

Preview Lab → · Contrast checker → · Palette generator →

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