#CFDA5F#CFDA5F

#CFDA5F is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.147 H 113.8°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#CFDA5F
RGBrgb(207, 218, 95)
HSLhsl(65, 62%, 61%)
HSVhsv(65, 56%, 85%)
CMYKcmyk(5%, 0%, 56.4%, 14.5%)
CIE-LABlab(84.09, -20.21, 58.05)
CIE-LCHlch(84.09, 61.47, 109.19°)
OKLaboklab(85.58% -0.0593 0.1346)
OKLCHoklch(85.58% 0.147 113.8)
XYZxyz(52.8702, 64.2353, 20.4378)
Luminance0.6423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA5F #6A5FDA
analogous
#DAA85F #CFDA5F #92DA5F
triadic
#CFDA5F #5FCFDA #DA5FCF
tetradic
#CFDA5F #5FDAA8 #6A5FDA #DA5F92
square
#CFDA5F #5FDAA8 #6A5FDA #DA5F92
split-complementary
#CFDA5F #5F92DA #A85FDA
monochromatic
#909B24 #BECD2F #CFDA5F #DEE591 #EDF1C2

Accessibility & contrast

On white

1.52
#CFDA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#CFDA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA5F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA5F#FFFFFF#000000##000000
##CFDA5F1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D052
Deuteranopia (green-blind)
#E8D366
Tritanopia (blue-blind)
#DBCEBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfda5f;
/* rgb */ color: rgb(207, 218, 95);
/* oklch */ color: oklch(85.6% 0.147 113.8);
Tailwind
colors: {
  custom: {
    50: '#e0e590',
    500: '#cfda5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfda5f;
$custom-light: #e0e590;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda5f",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 95
  },
  "hsl": {
    "h": 65.366,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85584,
    "c": 0.14707,
    "h": 113.8
  },
  "luminance": 0.64234
}

Semantic roles & 50–950 ramp

primary
#CFDA5F
secondary
#473E9F
accent
#1BCA2B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFDA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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