#CFB83B#CFB83B

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

Color values

HEX#CFB83B
RGBrgb(207, 184, 59)
HSLhsl(51, 61%, 52%)
HSVhsv(51, 71%, 81%)
CMYKcmyk(0%, 11.1%, 71.5%, 18.8%)
CIE-LABlab(74.74, -5.31, 63.09)
CIE-LCHlch(74.74, 63.31, 94.82°)
OKLaboklab(78.05% -0.0209 0.14)
OKLCHoklch(78.05% 0.142 98.5)
XYZxyz(43.6641, 47.8643, 11.0756)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB83B #3B52CF
analogous
#CF6E3B #CFB83B #9CCF3B
triadic
#CFB83B #3BCFB8 #B83BCF
tetradic
#CFB83B #3BCF6E #3B52CF #CF3B9C
square
#CFB83B #3BCF6E #3B52CF #CF3B9C
split-complementary
#CFB83B #3B9CCF #6E3BCF
monochromatic
#73661C #A59128 #CFB83B #DBCA6C #E7DC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB83B#FFFFFF#000000##000000
##CFB83B1.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)
#CAB327
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#DFAA9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb83b;
/* rgb */ color: rgb(207, 184, 59);
/* oklch */ color: oklch(78.0% 0.142 98.5);
Tailwind
colors: {
  custom: {
    50: '#e2cc79',
    500: '#cfb83b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb83b;
$custom-light: #e2cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb83b",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 59
  },
  "hsl": {
    "h": 50.676,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78045,
    "c": 0.14153,
    "h": 98.5
  },
  "luminance": 0.47862
}

Semantic roles & 50–950 ramp

primary
#CFB83B
secondary
#939DD3
accent
#5DE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB83B

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

Preview Lab → · Contrast checker → · Palette generator →

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