#CFBE4B#CFBE4B

#CFBE4B is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.135 H 100.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CFBE4B
RGBrgb(207, 190, 75)
HSLhsl(52, 58%, 55%)
HSVhsv(52, 64%, 81%)
CMYKcmyk(0%, 8.2%, 63.8%, 18.8%)
CIE-LABlab(76.44, -7.54, 58.36)
CIE-LCHlch(76.44, 58.84, 97.36°)
OKLaboklab(79.43% -0.0255 0.1326)
OKLCHoklch(79.43% 0.135 100.9)
XYZxyz(45.4174, 50.6022, 14.0301)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE4B #4B5CCF
analogous
#CF7C4B #CFBE4B #9ECF4B
triadic
#CFBE4B #4BCFBE #BE4BCF
tetradic
#CFBE4B #4BCF7C #4B5CCF #CF4B9E
square
#CFBE4B #4BCF7C #4B5CCF #CF4B9E
split-complementary
#CFBE4B #4B9ECF #7C4BCF
monochromatic
#7E7222 #AE9E2E #CFBE4B #DCCF7B #E9E1AC

Accessibility & contrast

On white

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

On black

11.12
#CFBE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE4B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE4B#FFFFFF#000000##000000
##CFBE4B1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB93D
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#DEB1A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbe4b;
/* rgb */ color: rgb(207, 190, 75);
/* oklch */ color: oklch(79.4% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#e1d182',
    500: '#cfbe4b',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe4b;
$custom-light: #e1d182;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe4b",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 75
  },
  "hsl": {
    "h": 52.273,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7943,
    "c": 0.13506,
    "h": 100.9
  },
  "luminance": 0.506
}

Semantic roles & 50–950 ramp

primary
#CFBE4B
secondary
#394286
accent
#5BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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