#CFC844#CFC844

#CFC844 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.149 H 106.3°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CFC844
RGBrgb(207, 200, 68)
HSLhsl(57, 59%, 54%)
HSVhsv(57, 67%, 81%)
CMYKcmyk(0%, 3.4%, 67.1%, 18.8%)
CIE-LABlab(79.04, -13.05, 63.92)
CIE-LCHlch(79.04, 65.24, 101.54°)
OKLaboklab(81.48% -0.0419 0.1433)
OKLCHoklch(81.48% 0.149 106.3)
XYZxyz(47.4316, 54.9929, 13.5839)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC844 #444BCF
analogous
#CF8344 #CFC844 #91CF44
triadic
#CFC844 #44CFC8 #C844CF
tetradic
#CFC844 #44CF83 #444BCF #CF4491
square
#CFC844 #44CF83 #444BCF #CF4491
split-complementary
#CFC844 #4491CF #8344CF
monochromatic
#79751F #AAA42C #CFC844 #DCD675 #E8E5A5

Accessibility & contrast

On white

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

On black

12.00
#CFC844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC844
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC844#FFFFFF#000000##000000
##CFC8441.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C131
Deuteranopia (green-blind)
#DCC64D
Tritanopia (blue-blind)
#DEBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc844;
/* rgb */ color: rgb(207, 200, 68);
/* oklch */ color: oklch(81.5% 0.149 106.3);
Tailwind
colors: {
  custom: {
    50: '#e1d87f',
    500: '#cfc844',
    950: '#000000',
  },
}
SCSS
$custom: #cfc844;
$custom-light: #e1d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc844",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 56.978,
    "s": 59.149,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8148,
    "c": 0.14929,
    "h": 106.3
  },
  "luminance": 0.54991
}

Semantic roles & 50–950 ramp

primary
#CFC844
secondary
#363982
accent
#4DE245
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC844

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

Preview Lab → · Contrast checker → · Palette generator →

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