#CFC274#CFC274

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

Color values

HEX#CFC274
RGBrgb(207, 194, 116)
HSLhsl(51, 49%, 63%)
HSVhsv(51, 44%, 81%)
CMYKcmyk(0%, 6.3%, 44%, 18.8%)
CIE-LABlab(77.94, -6.25, 40.76)
CIE-LCHlch(77.94, 41.24, 98.72°)
OKLaboklab(80.77% -0.0174 0.0986)
OKLCHoklch(80.77% 0.1 100)
XYZxyz(48.1774, 53.1115, 24.2333)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC274 #7481CF
analogous
#CF9474 #CFC274 #AECF74
triadic
#CFC274 #74CFC2 #C274CF
tetradic
#CFC274 #74CF94 #7481CF #CF74AE
square
#CFC274 #74CF94 #7481CF #CF74AE
split-complementary
#CFC274 #74AECF #9474CF
monochromatic
#958733 #BFAE47 #CFC274 #DFD6A1 #EEEACF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC274#FFFFFF#000000##000000
##CFC2741.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)
#CFBE6E
Deuteranopia (green-blind)
#D3C377
Tritanopia (blue-blind)
#DBB8AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc274;
/* rgb */ color: rgb(207, 194, 116);
/* oklch */ color: oklch(80.8% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#dfd49d',
    500: '#cfc274',
    950: '#000000',
  },
}
SCSS
$custom: #cfc274;
$custom-light: #dfd49d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc274",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 116
  },
  "hsl": {
    "h": 51.429,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80768,
    "c": 0.1001,
    "h": 100
  },
  "luminance": 0.5311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC274

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

Preview Lab → · Contrast checker → · Palette generator →

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