#626D0F#626D0F

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

Color values

HEX#626D0F
RGBrgb(98, 109, 15)
HSLhsl(67, 76%, 24%)
HSVhsv(67, 86%, 43%)
CMYKcmyk(10.1%, 0%, 86.2%, 57.3%)
CIE-LABlab(43.61, -16.32, 45.83)
CIE-LCHlch(43.61, 48.65, 109.60°)
OKLaboklab(50.83% -0.0498 0.0993)
OKLCHoklch(50.83% 0.111 116.7)
XYZxyz(10.5922, 13.5686, 2.5129)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626D0F #1A0F6D
analogous
#6D490F #626D0F #336D0F
triadic
#626D0F #0F626D #6D0F62
tetradic
#626D0F #0F6D49 #1A0F6D #6D0F33
square
#626D0F #0F6D49 #1A0F6D #6D0F33
split-complementary
#626D0F #0F336D #490F6D
monochromatic
#181B04 #323708 #626D0F #92A316 #C3D91E

Accessibility & contrast

On white

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

On black

3.71
#626D0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##626D0F#FFFFFF#000000##FFFFFF
##626D0F1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#746819
Tritanopia (blue-blind)
#69665C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #626d0f;
/* rgb */ color: rgb(98, 109, 15);
/* oklch */ color: oklch(50.8% 0.111 116.7);
Tailwind
colors: {
  custom: {
    50: '#929658',
    500: '#626d0f',
    950: '#000000',
  },
}
SCSS
$custom: #626d0f;
$custom-light: #929658;
$custom-dark: #000000;
JSON
{
  "hex": "#626d0f",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 15
  },
  "hsl": {
    "h": 67.021,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.11107,
    "h": 116.7
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#626D0F
secondary
#4033A5
accent
#35F24C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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