#CFC374#CFC374

#CFC374 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.101 H 100.8°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CFC374
RGBrgb(207, 195, 116)
HSLhsl(52, 49%, 63%)
HSVhsv(52, 44%, 81%)
CMYKcmyk(0%, 5.8%, 44%, 18.8%)
CIE-LABlab(78.20, -6.77, 41.09)
CIE-LCHlch(78.20, 41.65, 99.36°)
OKLaboklab(80.98% -0.0189 0.0993)
OKLCHoklch(80.98% 0.101 100.8)
XYZxyz(48.4007, 53.5581, 24.3078)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC374 #7480CF
analogous
#CF9574 #CFC374 #ADCF74
triadic
#CFC374 #74CFC3 #C374CF
tetradic
#CFC374 #74CF95 #7480CF #CF74AD
square
#CFC374 #74CF95 #7480CF #CF74AD
split-complementary
#CFC374 #74ADCF #9574CF
monochromatic
#958833 #BFAF47 #CFC374 #DFD7A1 #EEEACF

Accessibility & contrast

On white

1.79
#CFC374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CFC374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC374
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC374#FFFFFF#000000##000000
##CFC3741.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6E
Deuteranopia (green-blind)
#D4C477
Tritanopia (blue-blind)
#DBB9B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc374;
/* rgb */ color: rgb(207, 195, 116);
/* oklch */ color: oklch(81.0% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#dfd59d',
    500: '#cfc374',
    950: '#000000',
  },
}
SCSS
$custom: #cfc374;
$custom-light: #dfd59d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc374",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 116
  },
  "hsl": {
    "h": 52.088,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80976,
    "c": 0.1011,
    "h": 100.8
  },
  "luminance": 0.53557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC374

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

Preview Lab → · Contrast checker → · Palette generator →

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