#CFBA45#CFBA45

#CFBA45 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.5% C 0.136 H 99.0°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CFBA45
RGBrgb(207, 186, 69)
HSLhsl(51, 59%, 54%)
HSVhsv(51, 67%, 81%)
CMYKcmyk(0%, 10.1%, 66.7%, 18.8%)
CIE-LABlab(75.34, -5.83, 59.72)
CIE-LCHlch(75.34, 60.00, 95.57°)
OKLaboklab(78.54% -0.0213 0.1346)
OKLCHoklch(78.54% 0.136 99)
XYZxyz(44.3672, 48.8149, 12.7143)
Luminance0.4881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA45 #455ACF
analogous
#CF7545 #CFBA45 #9FCF45
triadic
#CFBA45 #45CFBA #BA45CF
tetradic
#CFBA45 #45CF75 #455ACF #CF459F
square
#CFBA45 #45CF75 #455ACF #CF459F
split-complementary
#CFBA45 #459FCF #7545CF
monochromatic
#7A6C20 #AB972C #CFBA45 #DCCC76 #E8DEA6

Accessibility & contrast

On white

1.95
#CFBA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#CFBA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA45
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA45#FFFFFF#000000##000000
##CFBA451.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB536
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#DFADA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba45;
/* rgb */ color: rgb(207, 186, 69);
/* oklch */ color: oklch(78.5% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#e1ce7f',
    500: '#cfba45',
    950: '#000000',
  },
}
SCSS
$custom: #cfba45;
$custom-light: #e1ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba45",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 50.87,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78541,
    "c": 0.13626,
    "h": 99
  },
  "luminance": 0.48813
}

Semantic roles & 50–950 ramp

primary
#CFBA45
secondary
#9BA3D5
accent
#5DE246
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBA45

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

Preview Lab → · Contrast checker → · Palette generator →

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