#CFC43B#CFC43B

#CFC43B is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.151 H 104.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CFC43B
RGBrgb(207, 196, 59)
HSLhsl(56, 61%, 52%)
HSVhsv(56, 71%, 81%)
CMYKcmyk(0%, 5.3%, 71.5%, 18.8%)
CIE-LABlab(77.91, -11.48, 66.18)
CIE-LCHlch(77.91, 67.17, 99.84°)
OKLaboklab(80.57% -0.0384 0.1465)
OKLCHoklch(80.57% 0.151 104.7)
XYZxyz(46.2634, 53.0628, 11.9421)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC43B #3B46CF
analogous
#CF7A3B #CFC43B #90CF3B
triadic
#CFC43B #3BCFC4 #C43BCF
tetradic
#CFC43B #3BCF7A #3B46CF #CF3B90
square
#CFC43B #3BCF7A #3B46CF #CF3B90
split-complementary
#CFC43B #3B90CF #7A3BCF
monochromatic
#736D1C #A59B28 #CFC43B #DBD36C #E7E29D

Accessibility & contrast

On white

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

On black

11.61
#CFC43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC43B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC43B#FFFFFF#000000##000000
##CFC43B1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD23
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#DEB7A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc43b;
/* rgb */ color: rgb(207, 196, 59);
/* oklch */ color: oklch(80.6% 0.151 104.7);
Tailwind
colors: {
  custom: {
    50: '#e1d57a',
    500: '#cfc43b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc43b;
$custom-light: #e1d57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc43b",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 55.541,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80565,
    "c": 0.15147,
    "h": 104.7
  },
  "luminance": 0.53061
}

Semantic roles & 50–950 ramp

primary
#CFC43B
secondary
#32387C
accent
#50E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC43B

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

Preview Lab → · Contrast checker → · Palette generator →

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