#CFB83C#CFB83C

#CFB83C is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.141 H 98.4°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CFB83C
RGBrgb(207, 184, 60)
HSLhsl(51, 60%, 52%)
HSVhsv(51, 71%, 81%)
CMYKcmyk(0%, 11.1%, 71%, 18.8%)
CIE-LABlab(74.75, -5.27, 62.71)
CIE-LCHlch(74.75, 62.93, 94.80°)
OKLaboklab(78.05% -0.0207 0.1394)
OKLCHoklch(78.05% 0.141 98.4)
XYZxyz(43.6903, 47.8748, 11.2135)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB83C #3C53CF
analogous
#CF6E3C #CFB83C #9DCF3C
triadic
#CFB83C #3CCFB8 #B83CCF
tetradic
#CFB83C #3CCF6E #3C53CF #CF3C9D
square
#CFB83C #3CCF6E #3C53CF #CF3C9D
split-complementary
#CFB83C #3C9DCF #6E3CCF
monochromatic
#74661D #A59229 #CFB83C #DBCA6D #E7DC9E

Accessibility & contrast

On white

1.99
#CFB83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CFB83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB83C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB83C#FFFFFF#000000##000000
##CFB83C1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB329
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#DFAA9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb83c;
/* rgb */ color: rgb(207, 184, 60);
/* oklch */ color: oklch(78.1% 0.141 98.4);
Tailwind
colors: {
  custom: {
    50: '#e1cc79',
    500: '#cfb83c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb83c;
$custom-light: #e1cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb83c",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 60
  },
  "hsl": {
    "h": 50.612,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78052,
    "c": 0.14089,
    "h": 98.4
  },
  "luminance": 0.47873
}

Semantic roles & 50–950 ramp

primary
#CFB83C
secondary
#939DD3
accent
#5DE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB83C

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

Preview Lab → · Contrast checker → · Palette generator →

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