#CFD148#CFD148

#CFD148 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.4% C 0.155 H 110.2°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#CFD148
RGBrgb(207, 209, 72)
HSLhsl(61, 60%, 55%)
HSVhsv(61, 66%, 82%)
CMYKcmyk(1%, 0%, 65.6%, 18%)
CIE-LABlab(81.48, -17.32, 64.85)
CIE-LCHlch(81.48, 67.12, 104.96°)
OKLaboklab(83.43% -0.0535 0.1459)
OKLCHoklch(83.43% 0.155 110.2)
XYZxyz(49.7039, 59.3355, 14.9643)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD148 #4A48D1
analogous
#D18F48 #CFD148 #8AD148
triadic
#CFD148 #48CFD1 #D148CF
tetradic
#CFD148 #48D18F #4A48D1 #D1488A
square
#CFD148 #48D18F #4A48D1 #D1488A
split-complementary
#CFD148 #488AD1 #8F48D1
monochromatic
#7D7F20 #AEB02C #CFD148 #DCDD79 #E9EAAA

Accessibility & contrast

On white

1.63
#CFD148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#CFD148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD148
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD148#FFFFFF#000000##000000
##CFD1481.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C835
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#DDC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd148;
/* rgb */ color: rgb(207, 209, 72);
/* oklch */ color: oklch(83.4% 0.155 110.2);
Tailwind
colors: {
  custom: {
    50: '#e1de82',
    500: '#cfd148',
    950: '#000000',
  },
}
SCSS
$custom: #cfd148;
$custom-light: #e1de82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd148",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 60.876,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83434,
    "c": 0.1554,
    "h": 110.2
  },
  "luminance": 0.59334
}

Semantic roles & 50–950 ramp

primary
#CFD148
secondary
#383786
accent
#45E347
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD148

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

Preview Lab → · Contrast checker → · Palette generator →

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