#CFBE4A#CFBE4A

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

Color values

HEX#CFBE4A
RGBrgb(207, 190, 74)
HSLhsl(52, 58%, 55%)
HSVhsv(52, 64%, 81%)
CMYKcmyk(0%, 8.2%, 64.3%, 18.8%)
CIE-LABlab(76.43, -7.60, 58.77)
CIE-LCHlch(76.43, 59.26, 97.37°)
OKLaboklab(79.42% -0.0258 0.1334)
OKLCHoklch(79.42% 0.136 100.9)
XYZxyz(45.3835, 50.5886, 13.8513)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE4A #4A5BCF
analogous
#CF7C4A #CFBE4A #9DCF4A
triadic
#CFBE4A #4ACFBE #BE4ACF
tetradic
#CFBE4A #4ACF7C #4A5BCF #CF4A9D
square
#CFBE4A #4ACF7C #4A5BCF #CF4A9D
split-complementary
#CFBE4A #4A9DCF #7C4ACF
monochromatic
#7D7221 #AE9D2E #CFBE4A #DCCF7A #E9E1AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBE4A#FFFFFF#000000##000000
##CFBE4A1.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)
#CFB93C
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#DEB1A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbe4a;
/* rgb */ color: rgb(207, 190, 74);
/* oklch */ color: oklch(79.4% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#e1d182',
    500: '#cfbe4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe4a;
$custom-light: #e1d182;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe4a",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 74
  },
  "hsl": {
    "h": 52.331,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79421,
    "c": 0.13583,
    "h": 100.9
  },
  "luminance": 0.50587
}

Semantic roles & 50–950 ramp

primary
#CFBE4A
secondary
#384285
accent
#5AE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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