#CFC25E#CFC25E

#CFC25E is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.122 H 102.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CFC25E
RGBrgb(207, 194, 94)
HSLhsl(53, 54%, 59%)
HSVhsv(53, 55%, 81%)
CMYKcmyk(0%, 6.3%, 54.6%, 18.8%)
CIE-LABlab(77.67, -8.25, 51.19)
CIE-LCHlch(77.67, 51.85, 99.15°)
OKLaboklab(80.47% -0.0254 0.1197)
OKLCHoklch(80.47% 0.122 102)
XYZxyz(47.0458, 52.6588, 18.2735)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC25E #5E6BCF
analogous
#CF8A5E #CFC25E #A4CF5E
triadic
#CFC25E #5ECFC2 #C25ECF
tetradic
#CFC25E #5ECF8A #5E6BCF #CF5EA4
square
#CFC25E #5ECF8A #5E6BCF #CF5EA4
split-complementary
#CFC25E #5EA4CF #8A5ECF
monochromatic
#8A7E29 #B9AA37 #CFC25E #DDD48D #EBE6BC

Accessibility & contrast

On white

1.82
#CFC25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CFC25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC25E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC25E#FFFFFF#000000##000000
##CFC25E1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD54
Deuteranopia (green-blind)
#D5C363
Tritanopia (blue-blind)
#DDB6AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc25e;
/* rgb */ color: rgb(207, 194, 94);
/* oklch */ color: oklch(80.5% 0.122 102.0);
Tailwind
colors: {
  custom: {
    50: '#e0d48e',
    500: '#cfc25e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc25e;
$custom-light: #e0d48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc25e",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 53.097,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80469,
    "c": 0.12239,
    "h": 102
  },
  "luminance": 0.52657
}

Semantic roles & 50–950 ramp

primary
#CFC25E
secondary
#414A90
accent
#5BDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC25E

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

Preview Lab → · Contrast checker → · Palette generator →

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