#CFC261#CFC261

#CFC261 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.120 H 101.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CFC261
RGBrgb(207, 194, 97)
HSLhsl(53, 53%, 60%)
HSVhsv(53, 53%, 81%)
CMYKcmyk(0%, 6.3%, 53.1%, 18.8%)
CIE-LABlab(77.71, -8.00, 49.81)
CIE-LCHlch(77.71, 50.45, 99.13°)
OKLaboklab(80.51% -0.0243 0.1171)
OKLCHoklch(80.51% 0.12 101.8)
XYZxyz(47.1831, 52.7137, 18.9963)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC261 #616ECF
analogous
#CF8B61 #CFC261 #A5CF61
triadic
#CFC261 #61CFC2 #C261CF
tetradic
#CFC261 #61CF8B #616ECF #CF61A5
square
#CFC261 #61CF8B #616ECF #CF61A5
split-complementary
#CFC261 #61A5CF #8B61CF
monochromatic
#8B802A #BAAB39 #CFC261 #DDD490 #ECE6BF

Accessibility & contrast

On white

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

On black

11.54
#CFC261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC261
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC261#FFFFFF#000000##000000
##CFC2611.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD58
Deuteranopia (green-blind)
#D5C366
Tritanopia (blue-blind)
#DDB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc261;
/* rgb */ color: rgb(207, 194, 97);
/* oklch */ color: oklch(80.5% 0.120 101.8);
Tailwind
colors: {
  custom: {
    50: '#e0d490',
    500: '#cfc261',
    950: '#000000',
  },
}
SCSS
$custom: #cfc261;
$custom-light: #e0d490;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc261",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 52.909,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80505,
    "c": 0.11956,
    "h": 101.8
  },
  "luminance": 0.52712
}

Semantic roles & 50–950 ramp

primary
#CFC261
secondary
#424C92
accent
#5CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC261

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

Preview Lab → · Contrast checker → · Palette generator →

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