#CFBE4E#CFBE4E

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

Color values

HEX#CFBE4E
RGBrgb(207, 190, 78)
HSLhsl(52, 57%, 56%)
HSVhsv(52, 62%, 81%)
CMYKcmyk(0%, 8.2%, 62.3%, 18.8%)
CIE-LABlab(76.46, -7.35, 57.09)
CIE-LCHlch(76.46, 57.56, 97.33°)
OKLaboklab(79.46% -0.0246 0.1304)
OKLCHoklch(79.46% 0.133 100.7)
XYZxyz(45.5225, 50.6443, 14.5837)
Luminance0.5064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE4E #4E5FCF
analogous
#CF7D4E #CFBE4E #9FCF4E
triadic
#CFBE4E #4ECFBE #BE4ECF
tetradic
#CFBE4E #4ECF7D #4E5FCF #CF4E9F
square
#CFBE4E #4ECF7D #4E5FCF #CF4E9F
split-complementary
#CFBE4E #4E9FCF #7D4ECF
monochromatic
#807423 #B09F30 #CFBE4E #DCD07E #E9E1AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBE4E#FFFFFF#000000##000000
##CFBE4E1.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)
#CFB941
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#DEB1A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbe4e;
/* rgb */ color: rgb(207, 190, 78);
/* oklch */ color: oklch(79.5% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#e1d184',
    500: '#cfbe4e',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe4e;
$custom-light: #e1d184;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe4e",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 78
  },
  "hsl": {
    "h": 52.093,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79459,
    "c": 0.13268,
    "h": 100.7
  },
  "luminance": 0.50642
}

Semantic roles & 50–950 ramp

primary
#CFBE4E
secondary
#3A4487
accent
#5BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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