#CFBA54#CFBA54

#CFBA54 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.7% C 0.124 H 97.8°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#CFBA54
RGBrgb(207, 186, 84)
HSLhsl(50, 56%, 57%)
HSVhsv(50, 59%, 81%)
CMYKcmyk(0%, 10.1%, 59.4%, 18.8%)
CIE-LABlab(75.47, -4.87, 53.31)
CIE-LCHlch(75.47, 53.53, 95.21°)
OKLaboklab(78.69% -0.0168 0.1231)
OKLCHoklch(78.69% 0.124 97.8)
XYZxyz(44.8931, 49.0253, 15.4839)
Luminance0.4902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA54 #5469CF
analogous
#CF7D54 #CFBA54 #A7CF54
triadic
#CFBA54 #54CFBA #BA54CF
tetradic
#CFBA54 #54CF7D #5469CF #CF54A7
square
#CFBA54 #54CF7D #5469CF #CF54A7
split-complementary
#CFBA54 #54A7CF #7D54CF
monochromatic
#847325 #B39D32 #CFBA54 #DCCD84 #EAE1B4

Accessibility & contrast

On white

1.94
#CFBA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#CFBA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA54
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA54#FFFFFF#000000##000000
##CFBA541.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB649
Deuteranopia (green-blind)
#D0BD59
Tritanopia (blue-blind)
#DEAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba54;
/* rgb */ color: rgb(207, 186, 84);
/* oklch */ color: oklch(78.7% 0.124 97.8);
Tailwind
colors: {
  custom: {
    50: '#e0ce88',
    500: '#cfba54',
    950: '#000000',
  },
}
SCSS
$custom: #cfba54;
$custom-light: #e0ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba54",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 49.756,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78687,
    "c": 0.12427,
    "h": 97.8
  },
  "luminance": 0.49023
}

Semantic roles & 50–950 ramp

primary
#CFBA54
secondary
#A6AFD8
accent
#62DF48
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBA54

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

Preview Lab → · Contrast checker → · Palette generator →

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