#CFC35A#CFC35A

#CFC35A is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.127 H 102.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CFC35A
RGBrgb(207, 195, 90)
HSLhsl(54, 55%, 58%)
HSVhsv(54, 57%, 81%)
CMYKcmyk(0%, 5.8%, 56.5%, 18.8%)
CIE-LABlab(77.90, -9.07, 53.30)
CIE-LCHlch(77.90, 54.07, 99.66°)
OKLaboklab(80.63% -0.0282 0.1238)
OKLCHoklch(80.63% 0.127 102.8)
XYZxyz(47.0943, 53.0355, 17.4270)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC35A #5A66CF
analogous
#CF885A #CFC35A #A0CF5A
triadic
#CFC35A #5ACFC3 #C35ACF
tetradic
#CFC35A #5ACF88 #5A66CF #CF5AA0
square
#CFC35A #5ACF88 #5A66CF #CF5AA0
split-complementary
#CFC35A #5AA0CF #885ACF
monochromatic
#877D27 #B7A935 #CFC35A #DDD489 #EBE5B9

Accessibility & contrast

On white

1.81
#CFC35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CFC35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC35A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC35A#FFFFFF#000000##000000
##CFC35A1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4F
Deuteranopia (green-blind)
#D6C35F
Tritanopia (blue-blind)
#DDB7AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc35a;
/* rgb */ color: rgb(207, 195, 90);
/* oklch */ color: oklch(80.6% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#e0d48c',
    500: '#cfc35a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc35a;
$custom-light: #e0d48c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc35a",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 90
  },
  "hsl": {
    "h": 53.846,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80632,
    "c": 0.12701,
    "h": 102.8
  },
  "luminance": 0.53034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC35A

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

Preview Lab → · Contrast checker → · Palette generator →

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