#CFBE40#CFBE40

#CFBE40 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.3% C 0.143 H 101.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CFBE40
RGBrgb(207, 190, 64)
HSLhsl(53, 60%, 53%)
HSVhsv(53, 69%, 81%)
CMYKcmyk(0%, 8.2%, 69.1%, 18.8%)
CIE-LABlab(76.35, -8.17, 62.77)
CIE-LCHlch(76.35, 63.30, 97.41°)
OKLaboklab(79.34% -0.0285 0.1402)
OKLCHoklch(79.34% 0.143 101.5)
XYZxyz(45.0730, 50.4644, 12.2159)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE40 #4051CF
analogous
#CF7640 #CFBE40 #98CF40
triadic
#CFBE40 #40CFBE #BE40CF
tetradic
#CFBE40 #40CF76 #4051CF #CF4098
square
#CFBE40 #40CF76 #4051CF #CF4098
split-complementary
#CFBE40 #4098CF #7640CF
monochromatic
#776C1E #A8992A #CFBE40 #DBCF71 #E8DFA2

Accessibility & contrast

On white

1.89
#CFBE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#CFBE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE40
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE40#FFFFFF#000000##000000
##CFBE401.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D4BF48
Tritanopia (blue-blind)
#DFB1A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbe40;
/* rgb */ color: rgb(207, 190, 64);
/* oklch */ color: oklch(79.3% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#e1d17c',
    500: '#cfbe40',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe40;
$custom-light: #e1d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe40",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 52.867,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79336,
    "c": 0.14306,
    "h": 101.5
  },
  "luminance": 0.50462
}

Semantic roles & 50–950 ramp

primary
#CFBE40
secondary
#343D7F
accent
#58E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFBE40

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

Preview Lab → · Contrast checker → · Palette generator →

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