#CFBA57#CFBA57

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

Color values

HEX#CFBA57
RGBrgb(207, 186, 87)
HSLhsl(50, 56%, 58%)
HSVhsv(50, 58%, 81%)
CMYKcmyk(0%, 10.1%, 58%, 18.8%)
CIE-LABlab(75.50, -4.65, 51.96)
CIE-LCHlch(75.50, 52.17, 95.11°)
OKLaboklab(78.72% -0.0158 0.1206)
OKLCHoklch(78.72% 0.122 97.5)
XYZxyz(45.0131, 49.0733, 16.1160)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA57 #576CCF
analogous
#CF7E57 #CFBA57 #A8CF57
triadic
#CFBA57 #57CFBA #BA57CF
tetradic
#CFBA57 #57CF7E #576CCF #CF57A8
square
#CFBA57 #57CF7E #576CCF #CF57A8
split-complementary
#CFBA57 #57A8CF #7E57CF
monochromatic
#857526 #B59E34 #CFBA57 #DDCE87 #EAE1B6

Accessibility & contrast

On white

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

On black

10.81
#CFBA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA57
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA57#FFFFFF#000000##000000
##CFBA571.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfba57;
/* rgb */ color: rgb(207, 186, 87);
/* oklch */ color: oklch(78.7% 0.122 97.5);
Tailwind
colors: {
  custom: {
    50: '#e0ce8a',
    500: '#cfba57',
    950: '#000000',
  },
}
SCSS
$custom: #cfba57;
$custom-light: #e0ce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba57",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 87
  },
  "hsl": {
    "h": 49.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.7872,
    "c": 0.12163,
    "h": 97.5
  },
  "luminance": 0.49071
}

Semantic roles & 50–950 ramp

primary
#CFBA57
secondary
#A9B1D9
accent
#63DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBA57

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

Preview Lab → · Contrast checker → · Palette generator →

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