#CFD348#CFD348

#CFD348 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.9% C 0.157 H 111.0°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#CFD348
RGBrgb(207, 211, 72)
HSLhsl(62, 61%, 55%)
HSVhsv(62, 66%, 83%)
CMYKcmyk(1.9%, 0%, 65.9%, 17.3%)
CIE-LABlab(82.01, -18.31, 65.40)
CIE-LCHlch(82.01, 67.92, 105.64°)
OKLaboklab(83.86% -0.0563 0.147)
OKLCHoklch(83.86% 0.157 111)
XYZxyz(50.1976, 60.3231, 15.1289)
Luminance0.6032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD348 #4C48D3
analogous
#D39248 #CFD348 #89D348
triadic
#CFD348 #48CFD3 #D348CF
tetradic
#CFD348 #48D392 #4C48D3 #D34889
square
#CFD348 #48D392 #4C48D3 #D34889
split-complementary
#CFD348 #4889D3 #9248D3
monochromatic
#7F811F #AFB32B #CFD348 #DCDF79 #E9EBAB

Accessibility & contrast

On white

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

On black

13.06
#CFD348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD348
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD348#FFFFFF#000000##000000
##CFD3481.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA34
Deuteranopia (green-blind)
#E4CE52
Tritanopia (blue-blind)
#DDC6B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd348;
/* rgb */ color: rgb(207, 211, 72);
/* oklch */ color: oklch(83.9% 0.157 111.0);
Tailwind
colors: {
  custom: {
    50: '#e1e082',
    500: '#cfd348',
    950: '#000000',
  },
}
SCSS
$custom: #cfd348;
$custom-light: #e1e082;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd348",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 61.727,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83864,
    "c": 0.15745,
    "h": 111
  },
  "luminance": 0.60322
}

Semantic roles & 50–950 ramp

primary
#CFD348
secondary
#393789
accent
#43E448
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD348

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

Preview Lab → · Contrast checker → · Palette generator →

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