#CFC45A#CFC45A

#CFC45A is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.128 H 103.4°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CFC45A
RGBrgb(207, 196, 90)
HSLhsl(54, 55%, 58%)
HSVhsv(54, 57%, 81%)
CMYKcmyk(0%, 5.3%, 56.5%, 18.8%)
CIE-LABlab(78.16, -9.58, 53.60)
CIE-LCHlch(78.16, 54.45, 100.14°)
OKLaboklab(80.84% -0.0296 0.1245)
OKLCHoklch(80.84% 0.128 103.4)
XYZxyz(47.3191, 53.4851, 17.5020)
Luminance0.5348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC45A #5A65CF
analogous
#CF895A #CFC45A #9FCF5A
triadic
#CFC45A #5ACFC4 #C45ACF
tetradic
#CFC45A #5ACF89 #5A65CF #CF5A9F
square
#CFC45A #5ACF89 #5A65CF #CF5A9F
split-complementary
#CFC45A #5A9FCF #895ACF
monochromatic
#877E27 #B7AA35 #CFC45A #DDD589 #EBE6B9

Accessibility & contrast

On white

1.80
#CFC45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CFC45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC45A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC45A#FFFFFF#000000##000000
##CFC45A1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4F
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#DDB8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc45a;
/* rgb */ color: rgb(207, 196, 90);
/* oklch */ color: oklch(80.8% 0.128 103.4);
Tailwind
colors: {
  custom: {
    50: '#e0d58c',
    500: '#cfc45a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc45a;
$custom-light: #e0d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc45a",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 54.359,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80842,
    "c": 0.12796,
    "h": 103.4
  },
  "luminance": 0.53483
}

Semantic roles & 50–950 ramp

primary
#CFC45A
secondary
#3F478E
accent
#58DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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