#CFC273#CFC273

#CFC273 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.101 H 100.1°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CFC273
RGBrgb(207, 194, 115)
HSLhsl(52, 49%, 63%)
HSVhsv(52, 44%, 81%)
CMYKcmyk(0%, 6.3%, 44.4%, 18.8%)
CIE-LABlab(77.93, -6.36, 41.25)
CIE-LCHlch(77.93, 41.74, 98.76°)
OKLaboklab(80.75% -0.0178 0.0996)
OKLCHoklch(80.75% 0.101 100.1)
XYZxyz(48.1196, 53.0883, 23.9286)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC273 #7380CF
analogous
#CF9473 #CFC273 #AECF73
triadic
#CFC273 #73CFC2 #C273CF
tetradic
#CFC273 #73CF94 #7380CF #CF73AE
square
#CFC273 #73CF94 #7380CF #CF73AE
split-complementary
#CFC273 #73AECF #9473CF
monochromatic
#958733 #BFAE45 #CFC273 #DFD6A1 #EEEACE

Accessibility & contrast

On white

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

On black

11.62
#CFC273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC273
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC273#FFFFFF#000000##000000
##CFC2731.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6D
Deuteranopia (green-blind)
#D3C376
Tritanopia (blue-blind)
#DBB8AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc273;
/* rgb */ color: rgb(207, 194, 115);
/* oklch */ color: oklch(80.8% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#dfd49c',
    500: '#cfc273',
    950: '#000000',
  },
}
SCSS
$custom: #cfc273;
$custom-light: #dfd49c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc273",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 115
  },
  "hsl": {
    "h": 51.522,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.80752,
    "c": 0.10118,
    "h": 100.1
  },
  "luminance": 0.53087
}

Semantic roles & 50–950 ramp

primary
#CFC273
secondary
#4C579B
accent
#3EBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC273

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

Preview Lab → · Contrast checker → · Palette generator →

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