#CFBA4B#CFBA4B

#CFBA4B 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#CFBA4B
RGBrgb(207, 186, 75)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 64%, 81%)
CMYKcmyk(0%, 10.1%, 63.8%, 18.8%)
CIE-LABlab(75.38, -5.47, 57.23)
CIE-LCHlch(75.38, 57.49, 95.46°)
OKLaboklab(78.6% -0.0196 0.1302)
OKLCHoklch(78.6% 0.132 98.6)
XYZxyz(44.5629, 48.8932, 13.7453)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA4B #4B60CF
analogous
#CF784B #CFBA4B #A2CF4B
triadic
#CFBA4B #4BCFBA #BA4BCF
tetradic
#CFBA4B #4BCF78 #4B60CF #CF4BA2
square
#CFBA4B #4BCF78 #4B60CF #CF4BA2
split-complementary
#CFBA4B #4BA2CF #784BCF
monochromatic
#7E6F22 #AE9A2E #CFBA4B #DCCD7B #E9DFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBA4B#FFFFFF#000000##000000
##CFBA4B1.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)
#CBB53E
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba4b;
/* rgb */ color: rgb(207, 186, 75);
/* oklch */ color: oklch(78.6% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#e1ce82',
    500: '#cfba4b',
    950: '#000000',
  },
}
SCSS
$custom: #cfba4b;
$custom-light: #e1ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba4b",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 50.455,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78595,
    "c": 0.13171,
    "h": 98.6
  },
  "luminance": 0.48891
}

Semantic roles & 50–950 ramp

primary
#CFBA4B
secondary
#9FA8D6
accent
#5FE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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