#CFC750#CFC750

#CFC750 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.139 H 105.5°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CFC750
RGBrgb(207, 199, 80)
HSLhsl(56, 57%, 56%)
HSVhsv(56, 61%, 81%)
CMYKcmyk(0%, 3.9%, 61.4%, 18.8%)
CIE-LABlab(78.86, -11.82, 58.82)
CIE-LCHlch(78.86, 60.00, 101.36°)
OKLaboklab(81.37% -0.0371 0.1343)
OKLCHoklch(81.37% 0.139 105.5)
XYZxyz(47.6052, 54.6931, 15.6370)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC750 #5058CF
analogous
#CF8850 #CFC750 #98CF50
triadic
#CFC750 #50CFC7 #C750CF
tetradic
#CFC750 #50CF88 #5058CF #CF5098
square
#CFC750 #50CF88 #5058CF #CF5098
split-complementary
#CFC750 #5098CF #8850CF
monochromatic
#817B23 #B1A931 #CFC750 #DCD680 #E9E6B0

Accessibility & contrast

On white

1.76
#CFC750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CFC750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC750
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC750#FFFFFF#000000##000000
##CFC7501.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#DDBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc750;
/* rgb */ color: rgb(207, 199, 80);
/* oklch */ color: oklch(81.4% 0.139 105.5);
Tailwind
colors: {
  custom: {
    50: '#e1d786',
    500: '#cfc750',
    950: '#000000',
  },
}
SCSS
$custom: #cfc750;
$custom-light: #e1d786;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc750",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 80
  },
  "hsl": {
    "h": 56.22,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81372,
    "c": 0.13938,
    "h": 105.5
  },
  "luminance": 0.54691
}

Semantic roles & 50–950 ramp

primary
#CFC750
secondary
#3B4089
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC750

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

Preview Lab → · Contrast checker → · Palette generator →

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