#CFC75C#CFC75C

#CFC75C is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.129 H 105.0°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CFC75C
RGBrgb(207, 199, 92)
HSLhsl(56, 55%, 59%)
HSVhsv(56, 56%, 81%)
CMYKcmyk(0%, 3.9%, 55.6%, 18.8%)
CIE-LABlab(78.98, -10.96, 53.61)
CIE-LCHlch(78.98, 54.72, 101.55°)
OKLaboklab(81.5% -0.0334 0.1247)
OKLCHoklch(81.5% 0.129 105)
XYZxyz(48.0888, 54.8865, 18.1842)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC75C #5C64CF
analogous
#CF8D5C #CFC75C #9DCF5C
triadic
#CFC75C #5CCFC7 #C75CCF
tetradic
#CFC75C #5CCF8D #5C64CF #CF5C9D
square
#CFC75C #5CCF8D #5C64CF #CF5C9D
split-complementary
#CFC75C #5C9DCF #8D5CCF
monochromatic
#888228 #B8AF36 #CFC75C #DDD78B #EBE7BB

Accessibility & contrast

On white

1.75
#CFC75C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CFC75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC75C
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC75C#FFFFFF#000000##000000
##CFC75C1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C151
Deuteranopia (green-blind)
#D9C662
Tritanopia (blue-blind)
#DDBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc75c;
/* rgb */ color: rgb(207, 199, 92);
/* oklch */ color: oklch(81.5% 0.129 105.0);
Tailwind
colors: {
  custom: {
    50: '#e0d78d',
    500: '#cfc75c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc75c;
$custom-light: #e0d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc75c",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 92
  },
  "hsl": {
    "h": 55.826,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81497,
    "c": 0.12912,
    "h": 105
  },
  "luminance": 0.54885
}

Semantic roles & 50–950 ramp

primary
#CFC75C
secondary
#40468F
accent
#54DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC75C

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

Preview Lab → · Contrast checker → · Palette generator →

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