#626312#626312

#626312 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.4% C 0.098 H 110.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#626312
RGBrgb(98, 99, 18)
HSLhsl(61, 69%, 23%)
HSVhsv(61, 82%, 39%)
CMYKcmyk(1%, 0%, 81.8%, 61.2%)
CIE-LABlab(40.52, -10.68, 42.17)
CIE-LCHlch(40.52, 43.50, 104.21°)
OKLaboklab(48.35% -0.034 0.092)
OKLCHoklch(48.35% 0.098 110.3)
XYZxyz(9.6084, 11.5643, 2.2981)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626312 #131263
analogous
#633B12 #626312 #396312
triadic
#626312 #126263 #631262
tetradic
#626312 #12633B #131263 #631239
square
#626312 #12633B #131263 #631239
split-complementary
#626312 #123963 #3B1263
monochromatic
#1A1A05 #2F2F09 #626312 #95971B #C9CB25

Accessibility & contrast

On white

6.34
#626312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#626312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626312
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626312#FFFFFF#000000##FFFFFF
##6263121.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6C6119
Tritanopia (blue-blind)
#695C54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #626312;
/* rgb */ color: rgb(98, 99, 18);
/* oklch */ color: oklch(48.4% 0.098 110.3);
Tailwind
colors: {
  custom: {
    50: '#928f58',
    500: '#626312',
    950: '#000000',
  },
}
SCSS
$custom: #626312;
$custom-light: #928f58;
$custom-dark: #000000;
JSON
{
  "hex": "#626312",
  "rgb": {
    "r": 98,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 60.741,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.09808,
    "h": 110.3
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#626312
secondary
#37369B
accent
#3CEC3E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626312

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

Preview Lab → · Contrast checker → · Palette generator →

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