#CFCE3B#CFCE3B

#CFCE3B is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.7% C 0.161 H 109.1°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CFCE3B
RGBrgb(207, 206, 59)
HSLhsl(60, 61%, 52%)
HSVhsv(60, 71%, 81%)
CMYKcmyk(0%, 0.5%, 71.5%, 18.8%)
CIE-LABlab(80.59, -16.51, 68.76)
CIE-LCHlch(80.59, 70.71, 103.50°)
OKLaboklab(82.7% -0.0525 0.152)
OKLCHoklch(82.7% 0.161 109.1)
XYZxyz(48.5946, 57.7253, 12.7191)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE3B #3B3CCF
analogous
#CF843B #CFCE3B #86CF3B
triadic
#CFCE3B #3BCFCE #CE3BCF
tetradic
#CFCE3B #3BCF84 #3B3CCF #CF3B86
square
#CFCE3B #3BCF84 #3B3CCF #CF3B86
split-complementary
#CFCE3B #3B86CF #843BCF
monochromatic
#73731C #A5A428 #CFCE3B #DBDA6C #E7E79D

Accessibility & contrast

On white

1.67
#CFCE3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CFCE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE3B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE3B#FFFFFF#000000##000000
##CFCE3B1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC51F
Deuteranopia (green-blind)
#E1CA46
Tritanopia (blue-blind)
#DEC1B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfce3b;
/* rgb */ color: rgb(207, 206, 59);
/* oklch */ color: oklch(82.7% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#e1dc7b',
    500: '#cfce3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfce3b;
$custom-light: #e1dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce3b",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 59
  },
  "hsl": {
    "h": 59.595,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82697,
    "c": 0.16079,
    "h": 109.1
  },
  "luminance": 0.57724
}

Semantic roles & 50–950 ramp

primary
#CFCE3B
secondary
#32337C
accent
#45E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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