#CFD262#CFD262

#CFD262 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.135 H 110.4°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#CFD262
RGBrgb(207, 210, 98)
HSLhsl(62, 55%, 60%)
HSVhsv(62, 53%, 82%)
CMYKcmyk(1.4%, 0%, 53.3%, 17.6%)
CIE-LABlab(81.97, -16.02, 54.29)
CIE-LCHlch(81.97, 56.61, 106.44°)
OKLaboklab(83.9% -0.0471 0.1269)
OKLCHoklch(83.9% 0.135 110.4)
XYZxyz(50.9845, 60.2416, 20.4949)
Luminance0.6024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD262 #6562D2
analogous
#D29D62 #CFD262 #97D262
triadic
#CFD262 #62CFD2 #D262CF
tetradic
#CFD262 #62D29D #6562D2 #D26297
square
#CFD262 #62D29D #6562D2 #D26297
split-complementary
#CFD262 #6297D2 #9D62D2
monochromatic
#8D9029 #BCC037 #CFD262 #DEE092 #ECEDC1

Accessibility & contrast

On white

1.61
#CFD262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#CFD262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD262
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD262#FFFFFF#000000##000000
##CFD2621.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA57
Deuteranopia (green-blind)
#E1CE68
Tritanopia (blue-blind)
#DCC7B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd262;
/* rgb */ color: rgb(207, 210, 98);
/* oklch */ color: oklch(83.9% 0.135 110.4);
Tailwind
colors: {
  custom: {
    50: '#e0df92',
    500: '#cfd262',
    950: '#000000',
  },
}
SCSS
$custom: #cfd262;
$custom-light: #e0df92;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd262",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 61.607,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83901,
    "c": 0.13533,
    "h": 110.4
  },
  "luminance": 0.6024
}

Semantic roles & 50–950 ramp

primary
#CFD262
secondary
#444296
accent
#23C327
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CFD262

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

Preview Lab → · Contrast checker → · Palette generator →

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