#626D18#626D18

#626D18 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 50.9% C 0.106 H 116.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#626D18
RGBrgb(98, 109, 24)
HSLhsl(68, 64%, 26%)
HSVhsv(68, 78%, 43%)
CMYKcmyk(10.1%, 0%, 78%, 57.3%)
CIE-LABlab(43.65, -15.92, 42.94)
CIE-LCHlch(43.65, 45.80, 110.34°)
OKLaboklab(50.88% -0.048 0.0948)
OKLCHoklch(50.88% 0.106 116.9)
XYZxyz(10.6708, 13.6000, 2.9269)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626D18 #23186D
analogous
#6D4D18 #626D18 #376D18
triadic
#626D18 #18626D #6D1862
tetradic
#626D18 #186D4D #23186D #6D1837
square
#626D18 #186D4D #23186D #6D1837
split-complementary
#626D18 #18376D #4D186D
monochromatic
#171906 #353B0D #626D18 #8F9F23 #BCD12E

Accessibility & contrast

On white

5.65
#626D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#626D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626D18
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626D18#FFFFFF#000000##FFFFFF
##626D181.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756706
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#69665D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #626d18;
/* rgb */ color: rgb(98, 109, 24);
/* oklch */ color: oklch(50.9% 0.106 116.9);
Tailwind
colors: {
  custom: {
    50: '#91965c',
    500: '#626d18',
    950: '#000000',
  },
}
SCSS
$custom: #626d18;
$custom-light: #91965c;
$custom-dark: #000000;
JSON
{
  "hex": "#626d18",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 67.765,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.10627,
    "h": 116.9
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#626D18
secondary
#4B3EA3
accent
#41E756
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626D18

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

Preview Lab → · Contrast checker → · Palette generator →

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