#CFC843#CFC843

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

Color values

HEX#CFC843
RGBrgb(207, 200, 67)
HSLhsl(57, 59%, 54%)
HSVhsv(57, 68%, 81%)
CMYKcmyk(0%, 3.4%, 67.6%, 18.8%)
CIE-LABlab(79.03, -13.10, 64.30)
CIE-LCHlch(79.03, 65.62, 101.52°)
OKLaboklab(81.47% -0.0422 0.1439)
OKLCHoklch(81.47% 0.15 106.3)
XYZxyz(47.4013, 54.9808, 13.4246)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC843 #434ACF
analogous
#CF8243 #CFC843 #90CF43
triadic
#CFC843 #43CFC8 #C843CF
tetradic
#CFC843 #43CF82 #434ACF #CF4390
square
#CFC843 #43CF82 #434ACF #CF4390
split-complementary
#CFC843 #4390CF #8243CF
monochromatic
#79741F #AAA32B #CFC843 #DBD674 #E8E5A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC843#FFFFFF#000000##000000
##CFC8431.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)
#D9C12F
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#DEBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc843;
/* rgb */ color: rgb(207, 200, 67);
/* oklch */ color: oklch(81.5% 0.150 106.3);
Tailwind
colors: {
  custom: {
    50: '#e1d87f',
    500: '#cfc843',
    950: '#000000',
  },
}
SCSS
$custom: #cfc843;
$custom-light: #e1d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc843",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 57,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81472,
    "c": 0.14998,
    "h": 106.3
  },
  "luminance": 0.54979
}

Semantic roles & 50–950 ramp

primary
#CFC843
secondary
#353981
accent
#4DE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC843

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

Preview Lab → · Contrast checker → · Palette generator →

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