#CFD145#CFD145

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

Color values

HEX#CFD145
RGBrgb(207, 209, 69)
HSLhsl(61, 60%, 55%)
HSVhsv(61, 67%, 82%)
CMYKcmyk(1%, 0%, 67%, 18%)
CIE-LABlab(81.45, -17.49, 65.98)
CIE-LCHlch(81.45, 68.26, 104.85°)
OKLaboklab(83.41% -0.0543 0.1478)
OKLCHoklch(83.41% 0.157 110.2)
XYZxyz(49.6084, 59.2973, 14.4614)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD145 #4745D1
analogous
#D18D45 #CFD145 #89D145
triadic
#CFD145 #45CFD1 #D145CF
tetradic
#CFD145 #45D18D #4745D1 #D14589
square
#CFD145 #45D18D #4745D1 #D14589
split-complementary
#CFD145 #4589D1 #8D45D1
monochromatic
#7B7D1F #ACAE2B #CFD145 #DCDD76 #E8E9A7

Accessibility & contrast

On white

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

On black

12.86
#CFD145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD145
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD145#FFFFFF#000000##000000
##CFD1451.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd145;
/* rgb */ color: rgb(207, 209, 69);
/* oklch */ color: oklch(83.4% 0.157 110.2);
Tailwind
colors: {
  custom: {
    50: '#e1de81',
    500: '#cfd145',
    950: '#000000',
  },
}
SCSS
$custom: #cfd145;
$custom-light: #e1de81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd145",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 69
  },
  "hsl": {
    "h": 60.857,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83411,
    "c": 0.15746,
    "h": 110.2
  },
  "luminance": 0.59296
}

Semantic roles & 50–950 ramp

primary
#CFD145
secondary
#373684
accent
#44E347
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD145

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

Preview Lab → · Contrast checker → · Palette generator →

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