#626412#626412

#626412 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.099 H 111.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#626412
RGBrgb(98, 100, 18)
HSLhsl(61, 69%, 23%)
HSVhsv(61, 82%, 39%)
CMYKcmyk(2%, 0%, 82%, 60.8%)
CIE-LABlab(40.82, -11.24, 42.45)
CIE-LCHlch(40.82, 43.91, 104.84°)
OKLaboklab(48.6% -0.0356 0.0926)
OKLCHoklch(48.6% 0.099 111)
XYZxyz(9.7037, 11.7550, 2.3299)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626412 #141264
analogous
#643D12 #626412 #396412
triadic
#626412 #126264 #641262
tetradic
#626412 #12643D #141264 #641239
square
#626412 #12643D #141264 #641239
split-complementary
#626412 #123964 #3D1264
monochromatic
#191A05 #2F3009 #626412 #95981B #C8CC25

Accessibility & contrast

On white

6.27
#626412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#626412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626412
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626412#FFFFFF#000000##FFFFFF
##6264121.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#695D55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626412;
/* rgb */ color: rgb(98, 100, 18);
/* oklch */ color: oklch(48.6% 0.099 111.0);
Tailwind
colors: {
  custom: {
    50: '#928f58',
    500: '#626412',
    950: '#000000',
  },
}
SCSS
$custom: #626412;
$custom-light: #928f58;
$custom-dark: #000000;
JSON
{
  "hex": "#626412",
  "rgb": {
    "r": 98,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 61.463,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.0992,
    "h": 111
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#626412
secondary
#38369C
accent
#3BEC40
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626412

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

Preview Lab → · Contrast checker → · Palette generator →

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