#626F1C#626F1C

#626F1C is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.106 H 118.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#626F1C
RGBrgb(98, 111, 28)
HSLhsl(69, 60%, 27%)
HSVhsv(69, 75%, 44%)
CMYKcmyk(11.7%, 0%, 74.8%, 56.5%)
CIE-LABlab(44.30, -16.78, 42.03)
CIE-LCHlch(44.30, 45.26, 111.76°)
OKLaboklab(51.41% -0.05 0.0936)
OKLCHoklch(51.41% 0.106 118.1)
XYZxyz(10.9313, 14.0495, 3.2343)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626F1C #291C6F
analogous
#6F531C #626F1C #386F1C
triadic
#626F1C #1C626F #6F1C62
tetradic
#626F1C #1C6F53 #291C6F #6F1C38
square
#626F1C #1C6F53 #291C6F #6F1C38
split-complementary
#626F1C #1C386F #531C6F
monochromatic
#161806 #373E10 #626F1C #8DA028 #B6CD38

Accessibility & contrast

On white

5.51
#626F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#626F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626F1C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626F1C#FFFFFF#000000##FFFFFF
##626F1C1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690D
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#68695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #626f1c;
/* rgb */ color: rgb(98, 111, 28);
/* oklch */ color: oklch(51.4% 0.106 118.1);
Tailwind
colors: {
  custom: {
    50: '#91985e',
    500: '#626f1c',
    950: '#000000',
  },
}
SCSS
$custom: #626f1c;
$custom-light: #91985e;
$custom-dark: #000000;
JSON
{
  "hex": "#626f1c",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 69.398,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.10615,
    "h": 118.1
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#626F1C
secondary
#5243A4
accent
#45E35E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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