#CFD05F#CFD05F

#CFD05F is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.136 H 109.5°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CFD05F
RGBrgb(207, 208, 95)
HSLhsl(61, 55%, 59%)
HSVhsv(61, 54%, 82%)
CMYKcmyk(0.5%, 0%, 54.3%, 18.4%)
CIE-LABlab(81.40, -15.26, 55.01)
CIE-LCHlch(81.40, 57.09, 105.51°)
OKLaboklab(83.44% -0.0453 0.1281)
OKLCHoklch(83.44% 0.136 109.5)
XYZxyz(50.3549, 59.2046, 19.5993)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD05F #605FD0
analogous
#D0995F #CFD05F #97D05F
triadic
#CFD05F #5FCFD0 #D05FCF
tetradic
#CFD05F #5FD099 #605FD0 #D05F97
square
#CFD05F #5FD099 #605FD0 #D05F97
split-complementary
#CFD05F #5F97D0 #995FD0
monochromatic
#8B8C29 #BABB37 #CFD05F #DDDE8E #EBECBE

Accessibility & contrast

On white

1.64
#CFD05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CFD05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD05F
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD05F#FFFFFF#000000##000000
##CFD05F1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC854
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#DCC4B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd05f;
/* rgb */ color: rgb(207, 208, 95);
/* oklch */ color: oklch(83.4% 0.136 109.5);
Tailwind
colors: {
  custom: {
    50: '#e0de90',
    500: '#cfd05f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd05f;
$custom-light: #e0de90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd05f",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 60.531,
    "s": 54.589,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8344,
    "c": 0.13585,
    "h": 109.5
  },
  "luminance": 0.59203
}

Semantic roles & 50–950 ramp

primary
#CFD05F
secondary
#424192
accent
#4ADE4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD05F

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

Preview Lab → · Contrast checker → · Palette generator →

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