#CFB83F#CFB83F

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

Color values

HEX#CFB83F
RGBrgb(207, 184, 63)
HSLhsl(50, 60%, 53%)
HSVhsv(50, 70%, 81%)
CMYKcmyk(0%, 11.1%, 69.6%, 18.8%)
CIE-LABlab(74.77, -5.11, 61.56)
CIE-LCHlch(74.77, 61.78, 94.75°)
OKLaboklab(78.08% -0.0199 0.1375)
OKLCHoklch(78.08% 0.139 98.3)
XYZxyz(43.7719, 47.9074, 11.6431)
Luminance0.4790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB83F #3F56CF
analogous
#CF703F #CFB83F #9ECF3F
triadic
#CFB83F #3FCFB8 #B83FCF
tetradic
#CFB83F #3FCF70 #3F56CF #CF3F9E
square
#CFB83F #3FCF70 #3F56CF #CF3F9E
split-complementary
#CFB83F #3F9ECF #703FCF
monochromatic
#76681E #A7932A #CFB83F #DBCA70 #E7DCA1

Accessibility & contrast

On white

1.98
#CFB83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#CFB83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB83F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB83F#FFFFFF#000000##000000
##CFB83F1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32E
Deuteranopia (green-blind)
#D0BB46
Tritanopia (blue-blind)
#DFAAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb83f;
/* rgb */ color: rgb(207, 184, 63);
/* oklch */ color: oklch(78.1% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#e1cd7b',
    500: '#cfb83f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb83f;
$custom-light: #e1cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb83f",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 63
  },
  "hsl": {
    "h": 50.417,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78075,
    "c": 0.13891,
    "h": 98.3
  },
  "luminance": 0.47905
}

Semantic roles & 50–950 ramp

primary
#CFB83F
secondary
#96A0D4
accent
#5EE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB83F

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

Preview Lab → · Contrast checker → · Palette generator →

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