#626F12#626F12

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

Color values

HEX#626F12
RGBrgb(98, 111, 18)
HSLhsl(68, 72%, 25%)
HSVhsv(68, 84%, 44%)
CMYKcmyk(11.7%, 0%, 83.8%, 56.5%)
CIE-LABlab(44.25, -17.28, 45.51)
CIE-LCHlch(44.25, 48.68, 110.79°)
OKLaboklab(51.35% -0.0523 0.0991)
OKLCHoklch(51.35% 0.112 117.8)
XYZxyz(10.8309, 14.0093, 2.7057)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F12 #1F126F
analogous
#6F4D12 #626F12 #336F12
triadic
#626F12 #12626F #6F1262
tetradic
#626F12 #126F4D #1F126F #6F1233
square
#626F12 #126F4D #1F126F #6F1233
split-complementary
#626F12 #12336F #4D126F
monochromatic
#171A04 #343A09 #626F12 #90A41B #BFD823

Accessibility & contrast

On white

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

On black

3.80
#626F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##626F12#FFFFFF#000000##FFFFFF
##626F121.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#69685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f12;
/* rgb */ color: rgb(98, 111, 18);
/* oklch */ color: oklch(51.3% 0.112 117.8);
Tailwind
colors: {
  custom: {
    50: '#92985a',
    500: '#626f12',
    950: '#000000',
  },
}
SCSS
$custom: #626f12;
$custom-light: #92985a;
$custom-dark: #000000;
JSON
{
  "hex": "#626f12",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 68.387,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.11205,
    "h": 117.8
  },
  "luminance": 0.14009
}

Semantic roles & 50–950 ramp

primary
#626F12
secondary
#4637A6
accent
#39EF52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626F12

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

Preview Lab → · Contrast checker → · Palette generator →

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