#CFBA43#CFBA43

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

Color values

HEX#CFBA43
RGBrgb(207, 186, 67)
HSLhsl(51, 59%, 54%)
HSVhsv(51, 68%, 81%)
CMYKcmyk(0%, 10.1%, 67.6%, 18.8%)
CIE-LABlab(75.32, -5.94, 60.53)
CIE-LCHlch(75.32, 60.82, 95.60°)
OKLaboklab(78.52% -0.0218 0.1359)
OKLCHoklch(78.52% 0.138 99.1)
XYZxyz(44.3061, 48.7905, 12.3928)
Luminance0.4879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA43 #4358CF
analogous
#CF7443 #CFBA43 #9ECF43
triadic
#CFBA43 #43CFBA #BA43CF
tetradic
#CFBA43 #43CF74 #4358CF #CF439E
square
#CFBA43 #43CF74 #4358CF #CF439E
split-complementary
#CFBA43 #439ECF #7443CF
monochromatic
#796B1F #AA972B #CFBA43 #DBCC74 #E8DEA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBA43#FFFFFF#000000##000000
##CFBA431.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)
#CBB533
Deuteranopia (green-blind)
#D1BD4A
Tritanopia (blue-blind)
#DFADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfba43;
/* rgb */ color: rgb(207, 186, 67);
/* oklch */ color: oklch(78.5% 0.138 99.1);
Tailwind
colors: {
  custom: {
    50: '#e1ce7d',
    500: '#cfba43',
    950: '#000000',
  },
}
SCSS
$custom: #cfba43;
$custom-light: #e1ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba43",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 67
  },
  "hsl": {
    "h": 51,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78524,
    "c": 0.13769,
    "h": 99.1
  },
  "luminance": 0.48788
}

Semantic roles & 50–950 ramp

primary
#CFBA43
secondary
#99A2D5
accent
#5DE345
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBA43

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

Preview Lab → · Contrast checker → · Palette generator →

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