#CFBA4A#CFBA4A

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

Color values

HEX#CFBA4A
RGBrgb(207, 186, 74)
HSLhsl(51, 58%, 55%)
HSVhsv(51, 64%, 81%)
CMYKcmyk(0%, 10.1%, 64.3%, 18.8%)
CIE-LABlab(75.38, -5.53, 57.65)
CIE-LCHlch(75.38, 57.92, 95.48°)
OKLaboklab(78.59% -0.0199 0.131)
OKLCHoklch(78.59% 0.132 98.6)
XYZxyz(44.5290, 48.8797, 13.5664)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA4A #4A5FCF
analogous
#CF774A #CFBA4A #A2CF4A
triadic
#CFBA4A #4ACFBA #BA4ACF
tetradic
#CFBA4A #4ACF77 #4A5FCF #CF4AA2
square
#CFBA4A #4ACF77 #4A5FCF #CF4AA2
split-complementary
#CFBA4A #4AA2CF #774ACF
monochromatic
#7D6F21 #AE9A2E #CFBA4A #DCCC7A #E9DFAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBA4A#FFFFFF#000000##000000
##CFBA4A1.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)
#CBB53D
Deuteranopia (green-blind)
#D1BD50
Tritanopia (blue-blind)
#DEADA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba4a;
/* rgb */ color: rgb(207, 186, 74);
/* oklch */ color: oklch(78.6% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#e1ce82',
    500: '#cfba4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfba4a;
$custom-light: #e1ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba4a",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 50.526,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78586,
    "c": 0.13249,
    "h": 98.6
  },
  "luminance": 0.48878
}

Semantic roles & 50–950 ramp

primary
#CFBA4A
secondary
#9FA7D6
accent
#5FE146
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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