#CFBA58#CFBA58

#CFBA58 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.121 H 97.4°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#CFBA58
RGBrgb(207, 186, 88)
HSLhsl(49, 55%, 58%)
HSVhsv(49, 57%, 81%)
CMYKcmyk(0%, 10.1%, 57.5%, 18.8%)
CIE-LABlab(75.51, -4.57, 51.50)
CIE-LCHlch(75.51, 51.71, 95.07°)
OKLaboklab(78.73% -0.0155 0.1197)
OKLCHoklch(78.73% 0.121 97.4)
XYZxyz(45.0542, 49.0897, 16.3327)
Luminance0.4909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA58 #586DCF
analogous
#CF7E58 #CFBA58 #A8CF58
triadic
#CFBA58 #58CFBA #BA58CF
tetradic
#CFBA58 #58CF7E #586DCF #CF58A8
square
#CFBA58 #58CF7E #586DCF #CF58A8
split-complementary
#CFBA58 #58A8CF #7E58CF
monochromatic
#867527 #B69F34 #CFBA58 #DDCE88 #EAE1B7

Accessibility & contrast

On white

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

On black

10.82
#CFBA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA58
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA58#FFFFFF#000000##000000
##CFBA581.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfba58;
/* rgb */ color: rgb(207, 186, 88);
/* oklch */ color: oklch(78.7% 0.121 97.4);
Tailwind
colors: {
  custom: {
    50: '#e0ce8a',
    500: '#cfba58',
    950: '#000000',
  },
}
SCSS
$custom: #cfba58;
$custom-light: #e0ce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba58",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 88
  },
  "hsl": {
    "h": 49.412,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78731,
    "c": 0.12074,
    "h": 97.4
  },
  "luminance": 0.49088
}

Semantic roles & 50–950 ramp

primary
#CFBA58
secondary
#AAB2D9
accent
#64DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBA58

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

Preview Lab → · Contrast checker → · Palette generator →

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