#626914#626914

#626914 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 49.9% C 0.104 H 114.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#626914
RGBrgb(98, 105, 20)
HSLhsl(65, 68%, 25%)
HSVhsv(65, 81%, 41%)
CMYKcmyk(6.7%, 0%, 81%, 58.8%)
CIE-LABlab(42.38, -13.94, 43.18)
CIE-LCHlch(42.38, 45.38, 107.88°)
OKLaboklab(49.86% -0.0429 0.0946)
OKLCHoklch(49.86% 0.104 114.4)
XYZxyz(10.2152, 12.7505, 2.5847)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626914 #1B1469
analogous
#694614 #626914 #386914
triadic
#626914 #146269 #691462
tetradic
#626914 #146946 #1B1469 #691438
square
#626914 #146946 #1B1469 #691438
split-complementary
#626914 #143869 #461469
monochromatic
#181A05 #32360A #626914 #929C1E #C2D028

Accessibility & contrast

On white

5.92
#626914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#626914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626914
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626914#FFFFFF#000000##FFFFFF
##6269141.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#696259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #626914;
/* rgb */ color: rgb(98, 105, 20);
/* oklch */ color: oklch(49.9% 0.104 114.4);
Tailwind
colors: {
  custom: {
    50: '#92935a',
    500: '#626914',
    950: '#000000',
  },
}
SCSS
$custom: #626914;
$custom-light: #92935a;
$custom-dark: #000000;
JSON
{
  "hex": "#626914",
  "rgb": {
    "r": 98,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 64.941,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.10382,
    "h": 114.4
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#626914
secondary
#4139A0
accent
#3DEB4B
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626914

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

Preview Lab → · Contrast checker → · Palette generator →

#626914 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva