#CFBE42#CFBE42

#CFBE42 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.4% C 0.142 H 101.4°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CFBE42
RGBrgb(207, 190, 66)
HSLhsl(53, 59%, 54%)
HSVhsv(53, 68%, 81%)
CMYKcmyk(0%, 8.2%, 68.1%, 18.8%)
CIE-LABlab(76.37, -8.06, 62.00)
CIE-LCHlch(76.37, 62.52, 97.41°)
OKLaboklab(79.35% -0.028 0.1389)
OKLCHoklch(79.35% 0.142 101.4)
XYZxyz(45.1309, 50.4876, 12.5210)
Luminance0.5049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE42 #4253CF
analogous
#CF7742 #CFBE42 #99CF42
triadic
#CFBE42 #42CFBE #BE42CF
tetradic
#CFBE42 #42CF77 #4253CF #CF4299
square
#CFBE42 #42CF77 #4253CF #CF4299
split-complementary
#CFBE42 #4299CF #7742CF
monochromatic
#786D1F #A99A2B #CFBE42 #DBCF73 #E8E0A4

Accessibility & contrast

On white

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

On black

11.10
#CFBE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE42
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE42#FFFFFF#000000##000000
##CFBE421.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#DEB1A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbe42;
/* rgb */ color: rgb(207, 190, 66);
/* oklch */ color: oklch(79.4% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#e1d17d',
    500: '#cfbe42',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe42;
$custom-light: #e1d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe42",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 52.766,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79352,
    "c": 0.14169,
    "h": 101.4
  },
  "luminance": 0.50486
}

Semantic roles & 50–950 ramp

primary
#CFBE42
secondary
#353E80
accent
#58E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFBE42

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

Preview Lab → · Contrast checker → · Palette generator →

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