#CFD270#CFD270

#CFD270 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.122 H 110.3°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#CFD270
RGBrgb(207, 210, 112)
HSLhsl(62, 52%, 63%)
HSVhsv(62, 47%, 82%)
CMYKcmyk(1.4%, 0%, 46.7%, 17.6%)
CIE-LABlab(82.13, -14.79, 47.89)
CIE-LCHlch(82.13, 50.12, 107.16°)
OKLaboklab(84.08% -0.0422 0.1142)
OKLCHoklch(84.08% 0.122 110.3)
XYZxyz(51.7043, 60.5295, 24.2858)
Luminance0.6053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD270 #7370D2
analogous
#D2A470 #CFD270 #9ED270
triadic
#CFD270 #70CFD2 #D270CF
tetradic
#CFD270 #70D2A4 #7370D2 #D2709E
square
#CFD270 #70D2A4 #7370D2 #D2709E
split-complementary
#CFD270 #709ED2 #A470D2
monochromatic
#959830 #BFC341 #CFD270 #DFE19F #EEEFCD

Accessibility & contrast

On white

1.60
#CFD270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#CFD270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD270
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD270#FFFFFF#000000##000000
##CFD2701.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB67
Deuteranopia (green-blind)
#E0CE75
Tritanopia (blue-blind)
#DBC8BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd270;
/* rgb */ color: rgb(207, 210, 112);
/* oklch */ color: oklch(84.1% 0.122 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf9b',
    500: '#cfd270',
    950: '#000000',
  },
}
SCSS
$custom: #cfd270;
$custom-light: #dfdf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd270",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 112
  },
  "hsl": {
    "h": 61.837,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84075,
    "c": 0.12173,
    "h": 110.3
  },
  "luminance": 0.60528
}

Semantic roles & 50–950 ramp

primary
#CFD270
secondary
#4C499D
accent
#26C02B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD270

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

Preview Lab → · Contrast checker → · Palette generator →

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