#CFC93B#CFC93B

#CFC93B is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.156 H 107.0°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CFC93B
RGBrgb(207, 201, 59)
HSLhsl(58, 61%, 52%)
HSVhsv(58, 71%, 81%)
CMYKcmyk(0%, 2.9%, 71.5%, 18.8%)
CIE-LABlab(79.25, -14.01, 67.47)
CIE-LCHlch(79.25, 68.91, 101.73°)
OKLaboklab(81.63% -0.0455 0.1493)
OKLCHoklch(81.63% 0.156 107)
XYZxyz(47.4100, 55.3561, 12.3243)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC93B #3B41CF
analogous
#CF7F3B #CFC93B #8BCF3B
triadic
#CFC93B #3BCFC9 #C93BCF
tetradic
#CFC93B #3BCF7F #3B41CF #CF3B8B
square
#CFC93B #3BCF7F #3B41CF #CF3B8B
split-complementary
#CFC93B #3B8BCF #7F3BCF
monochromatic
#73701C #A59F28 #CFC93B #DBD76C #E7E49D

Accessibility & contrast

On white

1.74
#CFC93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CFC93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC93B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC93B#FFFFFF#000000##000000
##CFC93B1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC121
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#DEBCAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc93b;
/* rgb */ color: rgb(207, 201, 59);
/* oklch */ color: oklch(81.6% 0.156 107.0);
Tailwind
colors: {
  custom: {
    50: '#e1d97a',
    500: '#cfc93b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc93b;
$custom-light: #e1d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc93b",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 59
  },
  "hsl": {
    "h": 57.568,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81628,
    "c": 0.15603,
    "h": 107
  },
  "luminance": 0.55354
}

Semantic roles & 50–950 ramp

primary
#CFC93B
secondary
#32357C
accent
#4AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC93B

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

Preview Lab → · Contrast checker → · Palette generator →

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