#626D12#626D12

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

Color values

HEX#626D12
RGBrgb(98, 109, 18)
HSLhsl(67, 72%, 25%)
HSVhsv(67, 83%, 43%)
CMYKcmyk(10.1%, 0%, 83.5%, 57.3%)
CIE-LABlab(43.62, -16.20, 44.95)
CIE-LCHlch(43.62, 47.79, 109.82°)
OKLaboklab(50.84% -0.0493 0.0979)
OKLCHoklch(50.84% 0.11 116.7)
XYZxyz(10.6151, 13.5778, 2.6337)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626D12 #1D126D
analogous
#6D4B12 #626D12 #346D12
triadic
#626D12 #12626D #6D1262
tetradic
#626D12 #126D4B #1D126D #6D1234
square
#626D12 #126D4B #1D126D #6D1234
split-complementary
#626D12 #12346D #4B126D
monochromatic
#181A04 #333809 #626D12 #91A21B #C0D623

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626D12#FFFFFF#000000##FFFFFF
##626D121.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)
#756700
Deuteranopia (green-blind)
#74681B
Tritanopia (blue-blind)
#69665C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #626d12;
/* rgb */ color: rgb(98, 109, 18);
/* oklch */ color: oklch(50.8% 0.110 116.7);
Tailwind
colors: {
  custom: {
    50: '#92965a',
    500: '#626d12',
    950: '#000000',
  },
}
SCSS
$custom: #626d12;
$custom-light: #92965a;
$custom-dark: #000000;
JSON
{
  "hex": "#626d12",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 67.253,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.10965,
    "h": 116.7
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#626D12
secondary
#4437A4
accent
#39EE4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626D12

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

Preview Lab → · Contrast checker → · Palette generator →

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