#CFC15F#CFC15F

#CFC15F is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.121 H 101.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CFC15F
RGBrgb(207, 193, 95)
HSLhsl(53, 54%, 59%)
HSVhsv(53, 54%, 81%)
CMYKcmyk(0%, 6.8%, 54.1%, 18.8%)
CIE-LABlab(77.42, -7.65, 50.42)
CIE-LCHlch(77.42, 51.00, 98.63°)
OKLaboklab(80.27% -0.0236 0.1182)
OKLCHoklch(80.27% 0.121 101.3)
XYZxyz(46.8692, 52.2333, 18.4374)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC15F #5F6DCF
analogous
#CF895F #CFC15F #A5CF5F
triadic
#CFC15F #5FCFC1 #C15FCF
tetradic
#CFC15F #5FCF89 #5F6DCF #CF5FA5
square
#CFC15F #5FCF89 #5F6DCF #CF5FA5
split-complementary
#CFC15F #5FA5CF #895FCF
monochromatic
#8A7E29 #B9A938 #CFC15F #DDD38E #EBE5BD

Accessibility & contrast

On white

1.83
#CFC15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CFC15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC15F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC15F#FFFFFF#000000##000000
##CFC15F1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC56
Deuteranopia (green-blind)
#D5C264
Tritanopia (blue-blind)
#DDB5AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc15f;
/* rgb */ color: rgb(207, 193, 95);
/* oklch */ color: oklch(80.3% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#e0d38f',
    500: '#cfc15f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc15f;
$custom-light: #e0d38f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc15f",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 52.5,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80271,
    "c": 0.12051,
    "h": 101.3
  },
  "luminance": 0.52232
}

Semantic roles & 50–950 ramp

primary
#CFC15F
secondary
#414B91
accent
#5DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC15F

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

Preview Lab → · Contrast checker → · Palette generator →

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