#CFC95A#CFC95A

#CFC95A is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.133 H 106.1°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#CFC95A
RGBrgb(207, 201, 90)
HSLhsl(57, 55%, 58%)
HSVhsv(57, 57%, 81%)
CMYKcmyk(0%, 2.9%, 56.5%, 18.8%)
CIE-LABlab(79.49, -12.13, 55.10)
CIE-LCHlch(79.49, 56.42, 102.41°)
OKLaboklab(81.9% -0.0369 0.1277)
OKLCHoklch(81.9% 0.133 106.1)
XYZxyz(48.4657, 55.7784, 17.8842)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC95A #5A60CF
analogous
#CF8E5A #CFC95A #9ACF5A
triadic
#CFC95A #5ACFC9 #C95ACF
tetradic
#CFC95A #5ACF8E #5A60CF #CF5A9A
square
#CFC95A #5ACF8E #5A60CF #CF5A9A
split-complementary
#CFC95A #5A9ACF #8E5ACF
monochromatic
#878227 #B7B035 #CFC95A #DDD989 #EBE8B9

Accessibility & contrast

On white

1.73
#CFC95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#CFC95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC95A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC95A#FFFFFF#000000##000000
##CFC95A1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24E
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#DDBDB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc95a;
/* rgb */ color: rgb(207, 201, 90);
/* oklch */ color: oklch(81.9% 0.133 106.1);
Tailwind
colors: {
  custom: {
    50: '#e0d98c',
    500: '#cfc95a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc95a;
$custom-light: #e0d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc95a",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 90
  },
  "hsl": {
    "h": 56.923,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.13293,
    "h": 106.1
  },
  "luminance": 0.55777
}

Semantic roles & 50–950 ramp

primary
#CFC95A
secondary
#3F438E
accent
#51DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC95A

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

Preview Lab → · Contrast checker → · Palette generator →

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