#CFBE2C#CFBE2C

#CFBE2C is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.2% C 0.155 H 102.3°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#CFBE2C
RGBrgb(207, 190, 44)
HSLhsl(54, 65%, 49%)
HSVhsv(54, 79%, 81%)
CMYKcmyk(0%, 8.2%, 78.7%, 18.8%)
CIE-LABlab(76.24, -9.03, 69.59)
CIE-LCHlch(76.24, 70.18, 97.40°)
OKLaboklab(79.21% -0.0329 0.151)
OKLCHoklch(79.21% 0.155 102.3)
XYZxyz(44.6023, 50.2762, 9.7373)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE2C #2C3DCF
analogous
#CF6C2C #CFBE2C #8FCF2C
triadic
#CFBE2C #2CCFBE #BE2CCF
tetradic
#CFBE2C #2CCF6C #2C3DCF #CF2C8F
square
#CFBE2C #2CCF6C #2C3DCF #CF2C8F
split-complementary
#CFBE2C #2C8FCF #6C2CCF
monochromatic
#6A6117 #9D9021 #CFBE2C #DCCF5C #E7DE8E

Accessibility & contrast

On white

1.90
#CFBE2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#CFBE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE2C
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE2C#FFFFFF#000000##000000
##CFBE2C1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D5BF38
Tritanopia (blue-blind)
#DFB0A3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbe2c;
/* rgb */ color: rgb(207, 190, 44);
/* oklch */ color: oklch(79.2% 0.155 102.3);
Tailwind
colors: {
  custom: {
    50: '#e2d172',
    500: '#cfbe2c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe2c;
$custom-light: #e2d172;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe2c",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 44
  },
  "hsl": {
    "h": 53.742,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79208,
    "c": 0.15453,
    "h": 102.3
  },
  "luminance": 0.50274
}

Semantic roles & 50–950 ramp

primary
#CFBE2C
secondary
#2B3374
accent
#51E840
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161409
muted
#85837D

Preview Lab

Preview with #CFBE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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