#CFBE4F#CFBE4F

#CFBE4F is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.5% C 0.132 H 100.6°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#CFBE4F
RGBrgb(207, 190, 79)
HSLhsl(52, 57%, 56%)
HSVhsv(52, 62%, 81%)
CMYKcmyk(0%, 8.2%, 61.8%, 18.8%)
CIE-LABlab(76.47, -7.28, 56.66)
CIE-LCHlch(76.47, 57.13, 97.32°)
OKLaboklab(79.47% -0.0243 0.1296)
OKLCHoklch(79.47% 0.132 100.6)
XYZxyz(45.5587, 50.6587, 14.7739)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE4F #4F60CF
analogous
#CF7E4F #CFBE4F #A0CF4F
triadic
#CFBE4F #4FCFBE #BE4FCF
tetradic
#CFBE4F #4FCF7E #4F60CF #CF4FA0
square
#CFBE4F #4FCF7E #4F60CF #CF4FA0
split-complementary
#CFBE4F #4FA0CF #7E4FCF
monochromatic
#817423 #B1A030 #CFBE4F #DCD07F #E9E2AF

Accessibility & contrast

On white

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

On black

11.13
#CFBE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE4F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE4F#FFFFFF#000000##000000
##CFBE4F1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbe4f;
/* rgb */ color: rgb(207, 190, 79);
/* oklch */ color: oklch(79.5% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#e1d185',
    500: '#cfbe4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe4f;
$custom-light: #e1d185;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe4f",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 52.031,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79468,
    "c": 0.13187,
    "h": 100.6
  },
  "luminance": 0.50657
}

Semantic roles & 50–950 ramp

primary
#CFBE4F
secondary
#3A4588
accent
#5CE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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