#CFC672#CFC672

#CFC672 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.106 H 103.1°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CFC672
RGBrgb(207, 198, 114)
HSLhsl(54, 49%, 63%)
HSVhsv(54, 45%, 81%)
CMYKcmyk(0%, 4.3%, 44.9%, 18.8%)
CIE-LABlab(78.97, -8.52, 43.04)
CIE-LCHlch(78.97, 43.88, 101.19°)
OKLaboklab(81.57% -0.0241 0.1036)
OKLCHoklch(81.57% 0.106 103.1)
XYZxyz(48.9646, 54.8699, 23.9280)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC672 #727BCF
analogous
#CF9872 #CFC672 #A9CF72
triadic
#CFC672 #72CFC6 #C672CF
tetradic
#CFC672 #72CF98 #727BCF #CF72A9
square
#CFC672 #72CF98 #727BCF #CF72A9
split-complementary
#CFC672 #72A9CF #9872CF
monochromatic
#948B32 #BFB444 #CFC672 #DFD8A0 #EEEBCD

Accessibility & contrast

On white

1.75
#CFC672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CFC672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC672
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC672#FFFFFF#000000##000000
##CFC6721.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16B
Deuteranopia (green-blind)
#D7C676
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc672;
/* rgb */ color: rgb(207, 198, 114);
/* oklch */ color: oklch(81.6% 0.106 103.1);
Tailwind
colors: {
  custom: {
    50: '#dfd79c',
    500: '#cfc672',
    950: '#000000',
  },
}
SCSS
$custom: #cfc672;
$custom-light: #dfd79c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc672",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 114
  },
  "hsl": {
    "h": 54.194,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81572,
    "c": 0.10632,
    "h": 103.1
  },
  "luminance": 0.54868
}

Semantic roles & 50–950 ramp

primary
#CFC672
secondary
#4B539A
accent
#37BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC672

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

Preview Lab → · Contrast checker → · Palette generator →

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