#CFBA4C#CFBA4C

#CFBA4C is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.131 H 98.5°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CFBA4C
RGBrgb(207, 186, 76)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 63%, 81%)
CMYKcmyk(0%, 10.1%, 63.3%, 18.8%)
CIE-LABlab(75.39, -5.41, 56.81)
CIE-LCHlch(75.39, 57.06, 95.44°)
OKLaboklab(78.61% -0.0193 0.1295)
OKLCHoklch(78.61% 0.131 98.5)
XYZxyz(44.5974, 48.9070, 13.9270)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA4C #4C61CF
analogous
#CF794C #CFBA4C #A2CF4C
triadic
#CFBA4C #4CCFBA #BA4CCF
tetradic
#CFBA4C #4CCF79 #4C61CF #CF4CA2
square
#CFBA4C #4CCF79 #4C61CF #CF4CA2
split-complementary
#CFBA4C #4CA2CF #794CCF
monochromatic
#7F7022 #AF9A2F #CFBA4C #DCCD7C #E9DFAD

Accessibility & contrast

On white

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

On black

10.78
#CFBA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA4C
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA4C#FFFFFF#000000##000000
##CFBA4C1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53F
Deuteranopia (green-blind)
#D1BD52
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba4c;
/* rgb */ color: rgb(207, 186, 76);
/* oklch */ color: oklch(78.6% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#e1ce83',
    500: '#cfba4c',
    950: '#000000',
  },
}
SCSS
$custom: #cfba4c;
$custom-light: #e1ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba4c",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 76
  },
  "hsl": {
    "h": 50.382,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78605,
    "c": 0.13092,
    "h": 98.5
  },
  "luminance": 0.48905
}

Semantic roles & 50–950 ramp

primary
#CFBA4C
secondary
#A0A9D7
accent
#60E147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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