#CFC65A#CFC65A

#CFC65A is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.130 H 104.5°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CFC65A
RGBrgb(207, 198, 90)
HSLhsl(55, 55%, 58%)
HSVhsv(55, 57%, 81%)
CMYKcmyk(0%, 4.3%, 56.5%, 18.8%)
CIE-LABlab(78.69, -10.60, 54.20)
CIE-LCHlch(78.69, 55.23, 101.07°)
OKLaboklab(81.26% -0.0326 0.1258)
OKLCHoklch(81.26% 0.13 104.5)
XYZxyz(47.7732, 54.3933, 17.6533)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC65A #5A63CF
analogous
#CF8B5A #CFC65A #9DCF5A
triadic
#CFC65A #5ACFC6 #C65ACF
tetradic
#CFC65A #5ACF8B #5A63CF #CF5A9D
square
#CFC65A #5ACF8B #5A63CF #CF5A9D
split-complementary
#CFC65A #5A9DCF #8B5ACF
monochromatic
#878027 #B7AD35 #CFC65A #DDD689 #EBE7B9

Accessibility & contrast

On white

1.77
#CFC65A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CFC65A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC65A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC65A#FFFFFF#000000##000000
##CFC65A1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04F
Deuteranopia (green-blind)
#D9C560
Tritanopia (blue-blind)
#DDBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc65a;
/* rgb */ color: rgb(207, 198, 90);
/* oklch */ color: oklch(81.3% 0.130 104.5);
Tailwind
colors: {
  custom: {
    50: '#e0d78c',
    500: '#cfc65a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc65a;
$custom-light: #e0d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc65a",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 90
  },
  "hsl": {
    "h": 55.385,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81264,
    "c": 0.12992,
    "h": 104.5
  },
  "luminance": 0.54392
}

Semantic roles & 50–950 ramp

primary
#CFC65A
secondary
#3F458E
accent
#55DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC65A

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

Preview Lab → · Contrast checker → · Palette generator →

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